Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This diagnostic occurs when you reference a property of a type that appears to be a typo.
The type <type-definition> does not contain property <property-name>. Did you mean <property-name>?
Warning / Error
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
For more information about Bicep diagnostics, see Bicep core diagnostics.