Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't raise missing properties diagnostic if assigned object value ha…
…s an additional properties type (#13272) Resolves #13247 The type narrowing on objects introduced in #12798 will erroneously raise a missing property diagnostic if the assigned value does not have an explicit property defined for each of the target's required properties, even if the assigned value allows additional properties. This PR updates the type narrowing to consider required properties not to be missing if the assigned value allows arbitrary additional properties. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/13272)
- Loading branch information