We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{}
#33570
unknown
Object
schema<T>
T
object
strictNullChecks
#37195
#27591
https://github.com/mattmccutchen/TypeScript/pull/1/files#diff-601ae163618e1a582913605ac0b1b7c1R104-R116
https://github.com/mattmccutchen/TypeScript/pull/1/files#diff-0e62d568d28b82cee9e66b2b8fafd290R7-R42
Is debatable - doesn't mean that all the properties are there
Definitely catches bad code!
Delay this for the next release.
Lets give known broken partner teams a heads up
The text was updated successfully, but these errors were encountered:
extends object
No branches or pull requests
Assignability Between
{}
and Unconstrained Type Parameters#33570
unknown
, we also added a special case forunknown
to be assignable to{}
andObject
.{}
tounknown
{}
andunknown
.schema<T>
whereT
really should've been updated to{}
.{}
?{}
orobject
.{}
.unknown
and{}
are really the same thing.unknown
is already assignable to{}
outside ofstrictNullChecks
, so this doesn't affect users there.Update on Intersection Assignability with Optional Properties
#37195
Checking Index Signatures In the Presence of Optional Properties
#27591
https://github.com/mattmccutchen/TypeScript/pull/1/files#diff-601ae163618e1a582913605ac0b1b7c1R104-R116
https://github.com/mattmccutchen/TypeScript/pull/1/files#diff-0e62d568d28b82cee9e66b2b8fafd290R7-R42
Is debatable - doesn't mean that all the properties are there
Definitely catches bad code!
Delay this for the next release.
Lets give known broken partner teams a heads up
The text was updated successfully, but these errors were encountered: