mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
498 B
Plaintext
20 lines
498 B
Plaintext
//// [tests/cases/compiler/invocationErrorRecovery.ts] ////
|
|
|
|
=== foo.d.ts ===
|
|
declare function foo(): void;
|
|
>foo : Symbol(foo, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 0, 29))
|
|
|
|
declare namespace foo {}
|
|
>foo : Symbol(foo, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 0, 29))
|
|
|
|
export = foo;
|
|
>foo : Symbol(foo, Decl(foo.d.ts, 0, 0), Decl(foo.d.ts, 0, 29))
|
|
|
|
=== index.ts ===
|
|
import * as foo from "./foo";
|
|
>foo : Symbol(foo, Decl(index.ts, 0, 6))
|
|
|
|
foo()
|
|
>foo : Symbol(foo, Decl(index.ts, 0, 6))
|
|
|