Files
tsgo/testdata/baselines/reference/submodule/compiler/declFileWithErrorsInInputDeclarationFile.symbols

28 lines
812 B
Plaintext

//// [tests/cases/compiler/declFileWithErrorsInInputDeclarationFile.ts] ////
=== client.ts ===
///<reference path="declFile.d.ts" preserve="true"/>
var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file
>x : Symbol(x, Decl(client.ts, 1, 3))
>M.C : Symbol(M.C, Decl(declFile.d.ts, 4, 27))
>M : Symbol(M, Decl(declFile.d.ts, 0, 0))
>C : Symbol(M.C, Decl(declFile.d.ts, 4, 27))
=== declFile.d.ts ===
declare namespace M {
>M : Symbol(M, Decl(declFile.d.ts, 0, 0))
declare var x;
>x : Symbol(x, Decl(declFile.d.ts, 1, 15))
declare function f();
>f : Symbol(f, Decl(declFile.d.ts, 1, 18))
declare namespace N { }
>N : Symbol(N, Decl(declFile.d.ts, 2, 25))
declare class C { }
>C : Symbol(C, Decl(declFile.d.ts, 4, 27))
}