139 lines
4.9 KiB
Text
139 lines
4.9 KiB
Text
=== tests/cases/conformance/interfaces/interfaceDeclarations/interfaceWithPropertyOfEveryType.ts ===
|
|
class C { foo: string; }
|
|
>C : Symbol(C, Decl(interfaceWithPropertyOfEveryType.ts, 0, 0))
|
|
>foo : Symbol(foo, Decl(interfaceWithPropertyOfEveryType.ts, 0, 9))
|
|
|
|
function f1() { }
|
|
>f1 : Symbol(f1, Decl(interfaceWithPropertyOfEveryType.ts, 0, 24))
|
|
|
|
module M {
|
|
>M : Symbol(M, Decl(interfaceWithPropertyOfEveryType.ts, 1, 17))
|
|
|
|
export var y = 1;
|
|
>y : Symbol(y, Decl(interfaceWithPropertyOfEveryType.ts, 3, 14))
|
|
}
|
|
enum E { A }
|
|
>E : Symbol(E, Decl(interfaceWithPropertyOfEveryType.ts, 4, 1))
|
|
>A : Symbol(E.A, Decl(interfaceWithPropertyOfEveryType.ts, 5, 8))
|
|
|
|
interface Foo {
|
|
>Foo : Symbol(Foo, Decl(interfaceWithPropertyOfEveryType.ts, 5, 12))
|
|
|
|
a: number;
|
|
>a : Symbol(a, Decl(interfaceWithPropertyOfEveryType.ts, 7, 15))
|
|
|
|
b: string;
|
|
>b : Symbol(b, Decl(interfaceWithPropertyOfEveryType.ts, 8, 14))
|
|
|
|
c: boolean;
|
|
>c : Symbol(c, Decl(interfaceWithPropertyOfEveryType.ts, 9, 14))
|
|
|
|
d: any;
|
|
>d : Symbol(d, Decl(interfaceWithPropertyOfEveryType.ts, 10, 15))
|
|
|
|
e: void;
|
|
>e : Symbol(e, Decl(interfaceWithPropertyOfEveryType.ts, 11, 11))
|
|
|
|
f: number[];
|
|
>f : Symbol(f, Decl(interfaceWithPropertyOfEveryType.ts, 12, 12))
|
|
|
|
g: Object;
|
|
>g : Symbol(g, Decl(interfaceWithPropertyOfEveryType.ts, 13, 16))
|
|
>Object : Symbol(Object, Decl(lib.d.ts, 92, 1), Decl(lib.d.ts, 223, 11))
|
|
|
|
h: (x: number) => number;
|
|
>h : Symbol(h, Decl(interfaceWithPropertyOfEveryType.ts, 14, 14))
|
|
>x : Symbol(x, Decl(interfaceWithPropertyOfEveryType.ts, 15, 8))
|
|
|
|
i: <T>(x: T) => T;
|
|
>i : Symbol(i, Decl(interfaceWithPropertyOfEveryType.ts, 15, 29))
|
|
>T : Symbol(T, Decl(interfaceWithPropertyOfEveryType.ts, 16, 8))
|
|
>x : Symbol(x, Decl(interfaceWithPropertyOfEveryType.ts, 16, 11))
|
|
>T : Symbol(T, Decl(interfaceWithPropertyOfEveryType.ts, 16, 8))
|
|
>T : Symbol(T, Decl(interfaceWithPropertyOfEveryType.ts, 16, 8))
|
|
|
|
j: Foo;
|
|
>j : Symbol(j, Decl(interfaceWithPropertyOfEveryType.ts, 16, 22))
|
|
>Foo : Symbol(Foo, Decl(interfaceWithPropertyOfEveryType.ts, 5, 12))
|
|
|
|
k: C;
|
|
>k : Symbol(k, Decl(interfaceWithPropertyOfEveryType.ts, 17, 11))
|
|
>C : Symbol(C, Decl(interfaceWithPropertyOfEveryType.ts, 0, 0))
|
|
|
|
l: typeof f1;
|
|
>l : Symbol(l, Decl(interfaceWithPropertyOfEveryType.ts, 18, 9))
|
|
>f1 : Symbol(f1, Decl(interfaceWithPropertyOfEveryType.ts, 0, 24))
|
|
|
|
m: typeof M;
|
|
>m : Symbol(m, Decl(interfaceWithPropertyOfEveryType.ts, 19, 17))
|
|
>M : Symbol(M, Decl(interfaceWithPropertyOfEveryType.ts, 1, 17))
|
|
|
|
n: {};
|
|
>n : Symbol(n, Decl(interfaceWithPropertyOfEveryType.ts, 20, 16))
|
|
|
|
o: E;
|
|
>o : Symbol(o, Decl(interfaceWithPropertyOfEveryType.ts, 21, 10))
|
|
>E : Symbol(E, Decl(interfaceWithPropertyOfEveryType.ts, 4, 1))
|
|
}
|
|
|
|
var a: Foo = {
|
|
>a : Symbol(a, Decl(interfaceWithPropertyOfEveryType.ts, 25, 3))
|
|
>Foo : Symbol(Foo, Decl(interfaceWithPropertyOfEveryType.ts, 5, 12))
|
|
|
|
a: 1,
|
|
>a : Symbol(a, Decl(interfaceWithPropertyOfEveryType.ts, 25, 14))
|
|
|
|
b: '',
|
|
>b : Symbol(b, Decl(interfaceWithPropertyOfEveryType.ts, 26, 9))
|
|
|
|
c: true,
|
|
>c : Symbol(c, Decl(interfaceWithPropertyOfEveryType.ts, 27, 10))
|
|
|
|
d: {},
|
|
>d : Symbol(d, Decl(interfaceWithPropertyOfEveryType.ts, 28, 12))
|
|
|
|
e: null ,
|
|
>e : Symbol(e, Decl(interfaceWithPropertyOfEveryType.ts, 29, 10))
|
|
|
|
f: [1],
|
|
>f : Symbol(f, Decl(interfaceWithPropertyOfEveryType.ts, 30, 13))
|
|
|
|
g: {},
|
|
>g : Symbol(g, Decl(interfaceWithPropertyOfEveryType.ts, 31, 11))
|
|
|
|
h: (x: number) => 1,
|
|
>h : Symbol(h, Decl(interfaceWithPropertyOfEveryType.ts, 32, 10))
|
|
>x : Symbol(x, Decl(interfaceWithPropertyOfEveryType.ts, 33, 8))
|
|
|
|
i: <T>(x: T) => x,
|
|
>i : Symbol(i, Decl(interfaceWithPropertyOfEveryType.ts, 33, 24))
|
|
>T : Symbol(T, Decl(interfaceWithPropertyOfEveryType.ts, 34, 8))
|
|
>x : Symbol(x, Decl(interfaceWithPropertyOfEveryType.ts, 34, 11))
|
|
>T : Symbol(T, Decl(interfaceWithPropertyOfEveryType.ts, 34, 8))
|
|
>x : Symbol(x, Decl(interfaceWithPropertyOfEveryType.ts, 34, 11))
|
|
|
|
j: <Foo>null,
|
|
>j : Symbol(j, Decl(interfaceWithPropertyOfEveryType.ts, 34, 22))
|
|
>Foo : Symbol(Foo, Decl(interfaceWithPropertyOfEveryType.ts, 5, 12))
|
|
|
|
k: new C(),
|
|
>k : Symbol(k, Decl(interfaceWithPropertyOfEveryType.ts, 35, 17))
|
|
>C : Symbol(C, Decl(interfaceWithPropertyOfEveryType.ts, 0, 0))
|
|
|
|
l: f1,
|
|
>l : Symbol(l, Decl(interfaceWithPropertyOfEveryType.ts, 36, 15))
|
|
>f1 : Symbol(f1, Decl(interfaceWithPropertyOfEveryType.ts, 0, 24))
|
|
|
|
m: M,
|
|
>m : Symbol(m, Decl(interfaceWithPropertyOfEveryType.ts, 37, 10))
|
|
>M : Symbol(M, Decl(interfaceWithPropertyOfEveryType.ts, 1, 17))
|
|
|
|
n: {},
|
|
>n : Symbol(n, Decl(interfaceWithPropertyOfEveryType.ts, 38, 9))
|
|
|
|
o: E.A
|
|
>o : Symbol(o, Decl(interfaceWithPropertyOfEveryType.ts, 39, 10))
|
|
>E.A : Symbol(E.A, Decl(interfaceWithPropertyOfEveryType.ts, 5, 8))
|
|
>E : Symbol(E, Decl(interfaceWithPropertyOfEveryType.ts, 4, 1))
|
|
>A : Symbol(E.A, Decl(interfaceWithPropertyOfEveryType.ts, 5, 8))
|
|
}
|