mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
700 B
Plaintext
10 lines
700 B
Plaintext
ambientExternalModuleInsideNonAmbientExternalModule.ts(1,1): error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
|
|
ambientExternalModuleInsideNonAmbientExternalModule.ts(1,23): error TS2664: Invalid module name in augmentation, module 'M' cannot be found.
|
|
|
|
|
|
==== ambientExternalModuleInsideNonAmbientExternalModule.ts (2 errors) ====
|
|
export declare module "M" { }
|
|
~~~~~~
|
|
!!! error TS2668: 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
|
|
~~~
|
|
!!! error TS2664: Invalid module name in augmentation, module 'M' cannot be found. |