mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
394 B
Plaintext
12 lines
394 B
Plaintext
main.ts(2,1): error TS18060: Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'.
|
|
|
|
|
|
==== a.ts (0 errors) ====
|
|
export {};
|
|
|
|
==== main.ts (1 errors) ====
|
|
export {};
|
|
import.defer("./a");
|
|
~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS18060: Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'.
|
|
|