5 lines
No EOL
121 B
JavaScript
5 lines
No EOL
121 B
JavaScript
//// [contextualTyping1.ts]
|
|
var foo: {id:number;} = {id:4};
|
|
|
|
//// [contextualTyping1.js]
|
|
var foo = {\n id: 4\n};\n |