mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
408 B
Plaintext
17 lines
408 B
Plaintext
//// [tests/cases/compiler/moduleKeywordSkipLibCheck.ts] ////
|
|
|
|
=== decl.d.ts ===
|
|
declare module Foo {
|
|
>Foo : Symbol(Foo, Decl(decl.d.ts, 0, 0))
|
|
|
|
export function bar(): void;
|
|
>bar : Symbol(bar, Decl(decl.d.ts, 0, 20))
|
|
}
|
|
|
|
=== main.ts ===
|
|
Foo.bar();
|
|
>Foo.bar : Symbol(Foo.bar, Decl(decl.d.ts, 0, 20))
|
|
>Foo : Symbol(Foo, Decl(decl.d.ts, 0, 0))
|
|
>bar : Symbol(Foo.bar, Decl(decl.d.ts, 0, 20))
|
|
|