Open wh131462 opened 7 months ago
今天更新代码,拉取最新版本之后报错 Error: node_modules/hotkeys-js/index.d.ts:181:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.
181 export = hotkeys;
![Uploading image.png…]()
/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, "strict": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "moduleResolution": "node", "importHelpers": true, "target": "ES2022", "module": "ES2022", "useDefineForClassFields": false, "lib": [ "ES2022", "dom" ] }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, "strictInputAccessModifiers": true, "strictTemplates": true } }
@wh131462 这可能是我合并 #441 造成的,我测试一下
@wh131462 修复了这个问题
今天更新代码,拉取最新版本之后报错 Error: node_modules/hotkeys-js/index.d.ts:181:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.
181 export = hotkeys;
![Uploading image.png…]()