mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
466 B
Plaintext
14 lines
466 B
Plaintext
//// [tests/cases/compiler/extendGlobalThis2.ts] ////
|
|
|
|
=== extendGlobalThis2.ts ===
|
|
namespace globalThis {
|
|
>globalThis : Symbol(globalThis, Decl(extendGlobalThis2.ts, 0, 0))
|
|
|
|
export function foo() { console.log("x"); }
|
|
>foo : Symbol(foo, Decl(extendGlobalThis2.ts, 0, 22))
|
|
>console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
|
>console : Symbol(console, Decl(lib.dom.d.ts, --, --))
|
|
>log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --))
|
|
}
|
|
|