mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
367 B
TypeScript
24 lines
367 B
TypeScript
//// [tests/cases/compiler/checkMergedGlobalUMDSymbol.ts] ////
|
|
|
|
//// [three.d.ts]
|
|
export namespace THREE {
|
|
export class Vector2 {}
|
|
}
|
|
|
|
//// [global.d.ts]
|
|
import * as _three from './three';
|
|
|
|
export as namespace THREE;
|
|
|
|
declare global {
|
|
export const THREE: typeof _three;
|
|
}
|
|
|
|
//// [test.ts]
|
|
const m = THREE
|
|
|
|
|
|
//// [test.js]
|
|
"use strict";
|
|
const m = THREE;
|