-
Notifications
You must be signed in to change notification settings - Fork 440
Add FileSystemSyncAccessHandle #1471
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
Comments
Added by #1424 last year. Maybe update your TypeScript version? |
That's it. It is supported in TypeScript 5.0.0-beta. Thank you! |
Still got error |
You need to make sure your worker script is using the right tsconfig; you need to specify |
Problem solved. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
FileSystemFileHandle.prototype.createSyncAccessHandle
method is used to create and object to synchronously read from and write to a file. It is only available in Web Workers.MDN Link: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle
It is already supported by two or more browser engines (Chrome & Safari). Adding the FileSystemSyncAccessHandle api to
lib.webworker.d.ts
would be a great addition.The text was updated successfully, but these errors were encountered: