-
-
Notifications
You must be signed in to change notification settings - Fork 736
Upgrade TS version #655
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
Comments
@chriskrycho, PR #654 should update the TS version in master. Once that is merged and a release is made the As to why we can't use peer dependencies, TypeDoc currently relies on some internal TS APIs so it is very unstable. It'd be great if the project could move away from those but that seems like a significant undertaking. Related #369 |
Makes sense. Thanks!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since TypeDoc hooks into the TS version, it can be quite frustrating to use when it's behind by several versions.
I have it running as a pre-commit hook via husky, and it's currently failing because I have intentionally (for the sake of the shape of my exports in the
index.ts
) imported some unused items. In TS 2.6 I can ignore those unused items by doing// @ts-ignore
on the preceding line; but TypeDoc being only at 2.4 can't do that.Related: is the underlying API being used so unstable that TypeDoc can't treat TS as a peer dependency rather than a direct dependency? It would be great if it was a peer dep with a version requirement for >= whatever the minimum version it needs is.
The text was updated successfully, but these errors were encountered: