TypeScript/tests/baselines/reference/contextualTyping1.js
2014-07-12 17:30:19 -07:00

6 lines
115 B
JavaScript

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