npm run build 出错
BUG description
Report: node_modules/sequelize/types/model.d.ts:3458:76 - error TS1135: Argument expression expected. 3458 [Key in keyof M as InternalInferAttributeKeysFromFields<M, Key, Options>]: IsBranded<M[Key], typeof CreationAttributeBrand> extends true ~ node_modules/sequelize/types/model.d.ts:3458:127 - error TS1109: Expression expected. 3458 [Key in keyof M as InternalInferAttributeKeysFromFields<M, Key, Options>]: IsBranded<M[Key], typeof CreationAttributeBrand> extends true ~~~~~~ node_modules/sequelize/types/model.d.ts:3461:1 - error TS1005: ',' expected. 3461 }; ~ node_modules/sequelize/types/model.d.ts:3461:2 - error TS1005: ')' expected. 3461 }; ~ Found 969 errors. Reproducibility steps # Download the source code git clone https://GitHub.com/thx/rap2-delos.git # Switch to the directory cd rap2-delos # Install dependencies npm install # Install TypeScript build package npm install TypeScript -g # Build Note: operate in the rap2-delos main directory npm run build Expected result npm run build reports an error Actual result # Screenshot
内容来源: thx/rap2-delos