TypeScript/tests/baselines/reference/contextualTyping16.js

11 lines
161 B
TypeScript
Raw Normal View History

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