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

16 lines
219 B
JavaScript

//// [typeofInterface.ts]
var I: { a: string};
interface I {
I: number;
foo: typeof I;
}
var k: I;
var j: typeof k.foo = { a: "hello" };
//// [typeofInterface.js]
var I;
var k;
var j = { a: "hello" };