TypeScript/tests/baselines/reference/contextualTyping1.js

6 lines
115 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [contextualTyping1.ts]
var foo: {id:number;} = {id:4};
//// [contextualTyping1.js]
var foo = { id: 4 };