TypeScript/tests/baselines/reference/contextualTyping1.js
2015-05-13 13:48:09 -07:00

6 lines
115 B
TypeScript

//// [contextualTyping1.ts]
var foo: {id:number;} = {id:4};
//// [contextualTyping1.js]
var foo = { id: 4 };