mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
654 B
Plaintext
27 lines
654 B
Plaintext
//// [tests/cases/conformance/externalModules/verbatimModuleSyntaxDeclarationFile.ts] ////
|
|
|
|
=== type1.d.ts ===
|
|
declare namespace NS {
|
|
>NS : Symbol(NS, Decl(type1.d.ts, 0, 0))
|
|
|
|
type A = object;
|
|
>A : Symbol(A, Decl(type1.d.ts, 0, 22))
|
|
}
|
|
|
|
export = NS;
|
|
>NS : Symbol(NS, Decl(type1.d.ts, 0, 0))
|
|
|
|
export as namespace MyTypes;
|
|
>MyTypes : Symbol(MyTypes, Decl(type1.d.ts, 4, 12))
|
|
|
|
=== type2.d.ts ===
|
|
import type * as NS from './type1';
|
|
>NS : Symbol(NS, Decl(type2.d.ts, 0, 11))
|
|
|
|
export = NS;
|
|
>NS : Symbol(NS, Decl(type2.d.ts, 0, 11))
|
|
|
|
export as namespace ModuleATypes;
|
|
>ModuleATypes : Symbol(ModuleATypes, Decl(type2.d.ts, 2, 12))
|
|
|