mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
307 B
Plaintext
11 lines
307 B
Plaintext
b.ts(1,8): error TS18058: Default imports are not allowed in a deferred import.
|
|
|
|
|
|
==== a.ts (0 errors) ====
|
|
export default 2;
|
|
|
|
==== b.ts (1 errors) ====
|
|
import defer from from "./a.js";
|
|
~~~~~~~~~~
|
|
!!! error TS18058: Default imports are not allowed in a deferred import.
|
|
|