使用default-import + esModuleInterop 来让你的TS 代码符合ES Modules 标准。 开启esModuleInterop 之后,allowSyntheticDefaultImports 也会自动 ...
確定! 回上一頁