TypeScript/tests/cases/compiler/excessPropertyErrorsSuppressed.ts
Anders Hejlsberg f5b85acd74 Adding test
2015-08-26 17:14:33 -07:00

4 lines
104 B
TypeScript

//@suppressExcessPropertyErrors: true
var x: { a: string } = { a: "hello", b: 42 }; // No error