mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 07:55:10 -05:00
Adding test
This commit is contained in:
3
tests/cases/compiler/excessPropertyErrorsSuppressed.ts
Normal file
3
tests/cases/compiler/excessPropertyErrorsSuppressed.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
//@suppressExcessPropertyErrors: true
|
||||
|
||||
var x: { a: string } = { a: "hello", b: 42 }; // No error
|
||||
Reference in New Issue
Block a user