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
Excess property checks only kick in when the RHS is an object literal, because otherwise there's a non-negligible possibility that you are reusing an object value from elsewhere.
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
Types not matching destructuring assignment hint error ignored
π Version & Regression Information
ts version: 4.6.4
β― Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAhgKuaBeKBvWAuKA7ArgWwCMIAnKAXwFgAoAYwHtsBnYTWBSKFdGLARgBMAZgA0UQlgAsAVgBsFGg2asJ7RFzRtBoqADp96VTPnkF1IA
π» Code
π Actual behavior
const a hint the error
const b not hint the error
π Expected behavior
const a hint the error
const b hint the error too, beacuse aType don't match "{ b: 456 }"
The text was updated successfully, but these errors were encountered: