typescript-library-starter icon indicating copy to clipboard operation
typescript-library-starter copied to clipboard

node_modules/@types/node/assert.d.ts(1) '{' or ';' expected.

Open yiliang114 opened this issue 5 years ago • 6 comments

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"

yiliang114 avatar Nov 18 '20 12:11 yiliang114

My hero :)

jschroed91 avatar Jun 30 '21 19:06 jschroed91

我整了一早上。看到你这个issue老哥太牛了

WXperia avatar Aug 11 '21 06:08 WXperia

China help China

RowgerGo avatar Oct 12 '22 02:10 RowgerGo

god

HondryTravis avatar Oct 12 '22 03:10 HondryTravis

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"
  }
}

772778995 avatar Apr 13 '23 14:04 772778995