mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
312 B
TypeScript
16 lines
312 B
TypeScript
//// [tests/cases/compiler/exportDeclarationsInAmbientNamespaces2.ts] ////
|
|
|
|
//// [exportDeclarationsInAmbientNamespaces2.ts]
|
|
declare module "mod" {
|
|
export var x: number;
|
|
}
|
|
|
|
declare namespace N {
|
|
export { x } from "mod"; // Error
|
|
}
|
|
|
|
|
|
|
|
//// [exportDeclarationsInAmbientNamespaces2.js]
|
|
"use strict";
|