5 lines
127 B
TypeScript
5 lines
127 B
TypeScript
//// [contextualTyping8.ts]
|
|
var foo:{id:number;}[] = [<{id:number;}>({})];
|
|
|
|
//// [contextualTyping8.js]
|
|
var foo = [({})];
|