7 lines
130 B
JavaScript
7 lines
130 B
JavaScript
//// [contextualTyping34.ts]
|
|
var foo = <{ id: number;}> ({id:4});
|
|
|
|
//// [contextualTyping34.js]
|
|
var foo = ({
|
|
id: 4
|
|
});
|