Key not specified in type, but no problems
https://stackblitz.com/edit/mrvfrm-gduby2?file=type.ts
How do I make it so I get a problem that foo is not in the type.
How do I make it so I get a problem that foo is not in the type.
unrecoginized key 'foo'interface Thing {
name: string,
}
const x: Thing = { name: "abc", age: 7 }