mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
696 B
Plaintext
12 lines
696 B
Plaintext
ambientExternalModuleInsideNonAmbient.ts(2,5): error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
|
|
ambientExternalModuleInsideNonAmbient.ts(2,27): error TS2435: Ambient modules cannot be nested in other modules or namespaces.
|
|
|
|
|
|
==== ambientExternalModuleInsideNonAmbient.ts (2 errors) ====
|
|
namespace M {
|
|
export declare module "M" { }
|
|
~~~~~~
|
|
!!! error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
|
|
~~~
|
|
!!! error TS2435: Ambient modules cannot be nested in other modules or namespaces.
|
|
} |