mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
326 B
TypeScript
19 lines
326 B
TypeScript
//// [tests/cases/conformance/es2020/modules/exportAsNamespace5.ts] ////
|
|
|
|
//// [three.d.ts]
|
|
export type Named = 0;
|
|
declare const Named: 0;
|
|
|
|
//// [two.d.ts]
|
|
export * as default from "./three";
|
|
|
|
//// [one.ts]
|
|
import ns from "./two";
|
|
type Alias = ns.Named;
|
|
ns.Named;
|
|
|
|
|
|
//// [one.js]
|
|
import ns from "./two";
|
|
ns.Named;
|