* Preserve const enums should keep import refs for exported const enums exported via export default Move some functionality around, small cleanup Remove unneeded const enum check * Only mark const enums as references with preserveConstEnums on in export assignments * Limit change to declarations and preserveConstEnums mode
10 lines
280 B
Plaintext
10 lines
280 B
Plaintext
/a.d.ts(3,1): error TS2303: Circular definition of import alias 'N'.
|
|
|
|
|
|
==== /a.d.ts (1 errors) ====
|
|
declare global { namespace N {} }
|
|
export = N;
|
|
export as namespace N;
|
|
~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2303: Circular definition of import alias 'N'.
|
|
|