527f467926
Previously, spreading an optional any gave a bogus error when the name conflicted with earlier properties in the object literal. Now the code checks any types for optionality before issuing the error. Fixes #37740 |
||
---|---|---|
.. | ||
any | ||
asyncGenerators | ||
conditional | ||
contextualTypes | ||
forAwait | ||
import | ||
intersection | ||
keyof | ||
literal | ||
localTypes | ||
mapped | ||
members | ||
namedTypes | ||
never | ||
nonPrimitive | ||
objectTypeLiteral | ||
primitives | ||
rest | ||
specifyingTypes | ||
spread | ||
stringLiteral | ||
thisType | ||
tuple | ||
typeAliases | ||
typeParameters | ||
typeRelationships | ||
union | ||
uniqueSymbol | ||
unknown | ||
witness |