Skip to content

Migrate some files to TS #2125

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 1 commit into from
Jun 18, 2025
Merged

Migrate some files to TS #2125

merged 1 commit into from
Jun 18, 2025

Conversation

jdeniau
Copy link
Member

@jdeniau jdeniau commented Jun 17, 2025

No description provided.

@jdeniau jdeniau force-pushed the typescript-migration branch 2 times, most recently from 0708b88 to a347240 Compare June 17, 2025 22:15
@jdeniau jdeniau force-pushed the typescript-migration branch from a347240 to 7f38bc9 Compare June 17, 2025 22:18
@jdeniau jdeniau marked this pull request as ready for review June 17, 2025 22:29
@jdeniau
Copy link
Member Author

jdeniau commented Jun 18, 2025

Failure on diff is expected here (casting to boolean instead of boolean|undefined, but we only use this in a if)

 function isIterator(maybeIterator) {
-  return maybeIterator && typeof maybeIterator.next === 'function';
+  return !!(maybeIterator && typeof maybeIterator.next === 'function');
 }

@jdeniau jdeniau merged commit a5d026f into main Jun 18, 2025
5 of 6 checks passed
@jdeniau jdeniau deleted the typescript-migration branch June 18, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy