TypeScript/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.symbols

26 lines
591 B
Plaintext

=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment2.js ===
No type information for this code.=== tests/cases/compiler/a.ts ===
export interface Foo {
>Foo : Symbol(Foo, Decl(a.ts, 0, 0))
a: number;
>a : Symbol(Foo.a, Decl(a.ts, 0, 22))
b: number;
>b : Symbol(Foo.b, Decl(a.ts, 1, 14))
}
=== tests/cases/compiler/b.js ===
/** @type {import("./a").Foo} */
export default { c: false };
>c : Symbol(c, Decl(b.js, 1, 16))
=== tests/cases/compiler/c.js ===
import b from "./b";
>b : Symbol(b, Decl(c.js, 0, 6))
b;
>b : Symbol(b, Decl(c.js, 0, 6))