alexjoverm / typescript-library-starter

Starter kit with zero-config for building a library in TypeScript, featuring RollupJS, Jest, Prettier, TSLint, Semantic Release, and more!
MIT License
4.37k stars 493 forks source link

fix: update typedoc and ts version to fix build error #332

Open yiliang114 opened 3 years ago

yiliang114 commented 3 years ago

image

when i use the code in master and run npm run build, i will get the parse error as above. The reason for this problem is the version of typedoc is too low. We can just change the typedoc and typescript in package.json and reinstall dependencies, it can work as well.

    "typedoc": "^0.14.2",
    "typescript": "^4.0.5"
antonellopasella-kedos commented 2 years ago

please merge this PR