# 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 ``` type aType = { a: number } const a: aType = { a: 123, b: 456 } // β hint error const b: aType = { a: 123, ...{ b: 456 } }// β not hint error, why? ``` ### π 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 }"