mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
exportDeclarationsInAmbientNamespaces2.ts(6,23): error TS1194: Export declarations are not permitted in a namespace.
|
|
|
|
|
|
==== exportDeclarationsInAmbientNamespaces2.ts (1 errors) ====
|
|
declare module "mod" {
|
|
export var x: number;
|
|
}
|
|
|
|
declare namespace N {
|
|
export { x } from "mod"; // Error
|
|
~~~~~
|
|
!!! error TS1194: Export declarations are not permitted in a namespace.
|
|
}
|
|
|
|
|