We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
interface I { a: number; b: string; } var obj = { c: true }; var i: I = { a: 0, b: "s", c: obj.c };// Error, unknown property c var i: I = { a: 0, b: "s", ...obj } // No error here.