Files
tsgo/testdata/baselines/reference/submodule/compiler/defaultIsNotVisibleInLocalScope.symbols
2025-02-26 14:53:49 -08:00

17 lines
387 B
Plaintext

//// [tests/cases/compiler/defaultIsNotVisibleInLocalScope.ts] ////
=== a.ts ===
export default function () {
return true;
}
export type X = typeof default; // expect error
>X : Symbol(X, Decl(a.ts, 2, 1))
=== b.ts ===
export default { a: true }
>a : Symbol(a, Decl(b.ts, 0, 16))
export type X = typeof default; // expect error
>X : Symbol(X, Decl(b.ts, 0, 26))