Skip to content

Commit

Permalink
Update .chronus/changes/fix-optional-prop-required-2024-4-6-21-39-1.md
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Terlson <brian.terlson@microsoft.com>
  • Loading branch information
timotheeguerin and bterlson committed May 6, 2024
1 parent bc59b08 commit ff302dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ packages:
- "@typespec/compiler"
---

Model with an optional property should not be assignable to a constraint with that property required. (`{foo?: string}` cannot be assigned to a constraint of `{foo: string}`)
Model with an optional property should not be satisfy a constraint with that property required. (`{foo?: string}` cannot be assigned to a constraint of `{foo: string}`)

0 comments on commit ff302dd

Please sign in to comment.