Skip to content
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

Document required TypeScript libs #34

Open
devkral opened this issue Nov 5, 2023 · 1 comment
Open

Document required TypeScript libs #34

devkral opened this issue Nov 5, 2023 · 1 comment

Comments

@devkral
Copy link

devkral commented Nov 5, 2023

Version 13.0.0

I get in the new version the error:

<sourcefolder>/node_modules/apollo-upload-client/node_modules/extract-files/extractFiles.mjs(141,30)
      TS2488: Type 'any[] | FileList' must have a '[Symbol.iterator]()' method that returns an iterator.

It seems like a bug in your library in combination with typescript.

I use the library via apollo-upload-client

@devkral
Copy link
Author

devkral commented Nov 10, 2023

The problem was the missing inclusion of "DOM.Iterable" in the lib part of tsconfig.json.
Please document this in requirements

@jaydenseric jaydenseric changed the title crash with typescript Document required TypeScript libs Apr 7, 2024
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

No branches or pull requests

1 participant