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

Support typescript 5.1.x #2296

Closed
skjnldsv opened this issue Jun 2, 2023 · 5 comments · Fixed by #2300
Closed

Support typescript 5.1.x #2296

skjnldsv opened this issue Jun 2, 2023 · 5 comments · Fixed by #2300
Labels
enhancement Improved functionality
Milestone

Comments

@skjnldsv
Copy link

skjnldsv commented Jun 2, 2023

"typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x"

https://github.com/microsoft/TypeScript/releases/tag/v5.1.3

@skjnldsv
Copy link
Author

skjnldsv commented Jun 6, 2023

🙇 🎉 🚀

@jacoobes
Copy link

jacoobes commented Jun 28, 2023

Hey, does this also support the new syntax with const generics?
https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#const-type-parameters
Im trying to build documentation on a personal project and the compiler fails to compile my project

typescript version -- 5.1.3

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jun 30, 2023

That's a TS 5.0 feature - so was supported even before 0.24.8, yes TypeDoc supports it. If you're getting compiler errors about it, make sure you have the TS version installed that you think you do, if you're still having issues, please open a new issue

@jacoobes
Copy link

jacoobes commented Jun 30, 2023 via email

@jacoobes
Copy link

jacoobes commented Jul 1, 2023

That's a TS 5.0 feature - so was supported even before 0.24.8, yes TypeDoc supports it. If you're getting compiler errors about it, make sure you have the TS version installed that you think you do, if you're still having issues, please open a new issue

Hey, everything works. I had to delete node modules and package lock and regenerate. Thanks for the help!

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

Successfully merging a pull request may close this issue.

3 participants