You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Object.assign({}) seems to always return a type any #29348
Expected behavior: TypeScript should report an error because the type returned by return Object.assign({}); does not mach {foo: string} but instead the type any is assumed.
Activity
[-]Object.assert({}) [/-][+]Object.assert({}) seems to always return a type any[/+][-]Object.assert({}) seems to always return a type any[/-][+]Object.assign({}) seems to always return a type any[/+]weswigham commentedon Jan 10, 2019
We should probably make it forbidden for the catch-all signature on
Object.assignto take a single argument.