Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 877 Bytes

File metadata and controls

45 lines (30 loc) · 877 Bytes
title BCP083
description The type <type-definition> does not contain property <property-name>. Did you mean <property-name>?
ms.topic reference
ms.custom devx-track-bicep
ms.date 10/30/2025

Bicep diagnostic code - BCP083

This diagnostic occurs when you reference a property of a type that appears to be a typo.

Description

The type <type-definition> does not contain property <property-name>. Did you mean <property-name>?

Level

Warning / Error

Examples

The following example raises the diagnostic because foo.type1 looks like a typo.

type foo = {
  type: string
}

type bar = foo.type1

You can fix the diagnostic by correcting the typo:

type foo = {
  type: string
}

type bar = foo.type

Next steps

For more information about Bicep diagnostics, see Bicep core diagnostics.