typescript-library-starter
typescript-library-starter copied to clipboard
node_modules/@types/node/assert.d.ts(1) '{' or ';' expected.
If you had got the problem, do not worry, you can just update typedoc and ts version. #332
"typedoc": "^0.14.2",
"typescript": "^4.0.5"
My hero :)
我整了一早上。看到你这个issue老哥太牛了
China help China
god
You need to update the TypeScript and Typedoc dependencies at the same time, and modify the build script command
{
"scripts": {
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc src/index.ts",
},
"devDependencies": {
"typedoc": "^0.24.1",
"typescript": "^5.0.4"
}
}