mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
30 lines
600 B
Plaintext
30 lines
600 B
Plaintext
//// [tests/cases/compiler/externSyntax.ts] ////
|
|
|
|
=== externSyntax.ts ===
|
|
declare var v;
|
|
>v : Symbol(v, Decl(externSyntax.ts, 0, 11))
|
|
|
|
declare namespace M {
|
|
>M : Symbol(M, Decl(externSyntax.ts, 0, 14))
|
|
|
|
export class D {
|
|
>D : Symbol(D, Decl(externSyntax.ts, 1, 21))
|
|
|
|
public p;
|
|
>p : Symbol(D.p, Decl(externSyntax.ts, 2, 20))
|
|
}
|
|
export class C {
|
|
>C : Symbol(C, Decl(externSyntax.ts, 4, 5))
|
|
|
|
public f();
|
|
>f : Symbol(C.f, Decl(externSyntax.ts, 5, 20))
|
|
|
|
public g() { } // error body
|
|
>g : Symbol(C.g, Decl(externSyntax.ts, 6, 19))
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|