Files
tsgo/testdata/baselines/reference/submodule/compiler/checkMergedGlobalUMDSymbol.js

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;