mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
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