Open F999999999 opened 1 year ago
It works for me. I noticed you didn't include a build command or tsconfig file. Here's my attempted reproduction of your issue:
Run npm run build
. Output files are in dist/
.
I compiled with tsc
,I've found out why,This is because I installed the @types/koa-bodyparser
package causing type conflicts. Delete it and it will be normal,I am very sorry to waste your precious time dealing with this issue,Please close this issue
Describe the bug
Node.js version: v18.15.0
OS version: Windows 11
Description: A TypeScript error occurs when configuring eslint+prettier and using tsc to build projects Prettier
Actual behavior
Expected behavior
build success
Code to reproduce
.eslintrc.js
.prettierrc.js
app.ts (pseudo-code)
Checklist