Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yiliang114 opened this issue Nov 18, 2020 · 6 comments
Open

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

yiliang114 opened this issue Nov 18, 2020 · 6 comments

Comments

@yiliang114
Copy link

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"
@jschroed91
Copy link

My hero :)

@WXperia
Copy link

WXperia commented Aug 11, 2021

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

@RowgerGo
Copy link

China help China

@HondryTravis
Copy link

god

@772778995
Copy link

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

@xuzc0618
Copy link

xuzc0618 commented Aug 28, 2024

我只升级了"typescript"到4.0.5就可以了。感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants