mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 12:41:06 -06: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