Skip to content

chore: update typescript #15566

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

Merged
merged 2 commits into from
Apr 6, 2025
Merged

chore: update typescript #15566

merged 2 commits into from
Apr 6, 2025

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented Apr 6, 2025

Summary

Hopefully unblocks #15478

Test plan

Copy link

netlify bot commented Apr 6, 2025

Deploy Preview for jestjs ready!

Name Link
🔨 Latest commit 3d8dc5c
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/67f262d17c1cd90008cececa
😎 Deploy Preview https://deploy-preview-15566--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -125,6 +125,7 @@ export async function watchmanCrawl(options: CrawlerOptions): Promise<{

const cmd = <T>(...args: Array<any>): Promise<T> =>
new Promise((resolve, reject) =>
// @ts-expect-error: client is typed strictly, but incomplete
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DefinitelyTyped/DefinitelyTyped#71648

Very nice, but makes it harder to type when we wrap in promise (including node's promisify)

@SimenB SimenB merged commit 511ea93 into jestjs:main Apr 6, 2025
86 checks passed
@SimenB SimenB deleted the update-ts branch April 6, 2025 11:36
Copy link

github-actions bot commented May 7, 2025

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant