Skip to content

Conversation

tpgusgh
Copy link

@tpgusgh tpgusgh commented May 19, 2025

Fixes #xxxx

Summary

Refactored FileSystemDirectoryHandle and ReadableStream async iterator definitions to:

  • Remove undefined or redundant types (AsyncIteratorObject, BuiltinIteratorReturn)
  • Use a shared AsyncIterableIterator<T> utility type for clarity and DRY compliance
  • Add missing ReadableStreamIteratorOptions interface
  • Improve readability and maintainability through consistent structure and comments

These changes ensure more consistent typings and better compatibility with existing TypeScript async iteration patterns.

@github-project-automation github-project-automation bot moved this to Not started in PR Backlog May 19, 2025
@tpgusgh tpgusgh closed this May 19, 2025
@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog May 19, 2025
@tpgusgh tpgusgh reopened this May 19, 2025
@github-project-automation github-project-automation bot moved this from Done to Not started in PR Backlog May 19, 2025
@Renegade334
Copy link
Contributor

Renegade334 commented May 20, 2025

Generated files

The DOM files ending in .generated.d.ts aren't meant to be edited by hand.

If you need to make changes to such files, make a change to the input files for our library generator.

(This proposal goes against the direction of travel – see microsoft/TypeScript-DOM-lib-generator#1713 for context.)

@jakebailey jakebailey closed this Jul 1, 2025
@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants