TypeScript/tests/cases/compiler/objectLitStructuralTypeMismatch.ts

2 lines
55 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
// Shouldn't compile
var x: { a: number; } = { b: 5 };