-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
fix: ensure all packages correctly downlevel TS files #9715
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
Conversation
|
|
||
| assert(value: unknown, message?: string | Error): asserts value { | ||
| // use `asserts` when https://github.com/sandersn/downlevel-dts/issues/32 is fixed | ||
| assert(value: unknown, message?: string | Error): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
void matches the node core types as well, so should be fine
|
I've tried adding a test now that actually runs Fixing the error and pushing now |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


Summary
In #9705 I just tested with
pretty-format- seems I forgot to update a fewpackage.jsons. This also uncovered a few missingtypesfields as well, so fixing those at the same time.I also rolled back on syntax that downlevel doesn't support and worked around another bug.
Fixes #9714.
Test plan
I've now verified
[email protected]can compile the entirejestpackage, not justpretty-formatand what that pulls in