Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotations for the File System API (#9127)
Summary: This PR adds flow library definitions for the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API) I've only added methods and functions that are part of the [WHATWG Standard](https://fs.spec.whatwg.org/#introduction). Furthermore, I had to add missing flow library definitions for `WritableStream` and `WritableStreamDefaultWriter`, which are a part of the [Streams API](https://streams.spec.whatwg.org/#default-writer-class), since these are a dependency of `FileSystemWritableFileStream`. API References: - `FileSystemHandle`: [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemHandle), [WHATWG](https://fs.spec.whatwg.org/#api-filesystemhandle) - `FileSystemFileHandle`: [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle), [WHATWG](https://fs.spec.whatwg.org/#api-filesystemfilehandle) - `FileSystemDirectoryHandle`: [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle), [WHATWG](https://fs.spec.whatwg.org/#api-filesystemdirectoryhandle) - `FileSystemSyncAccessHandle`: [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle), [WHATWG](https://fs.spec.whatwg.org/#api-filesystemsyncaccesshandle) - `FileSystemWritableFileStream`: [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemWritableFileStream), [WHATWG](https://fs.spec.whatwg.org/#api-filesystemwritablefilestream) Pull Request resolved: #9127 Reviewed By: skyout Differential Revision: D54821048 Pulled By: ZelJin fbshipit-source-id: 7a61967e3ac13f0c566971b4f790ced076a3ce8a
- Loading branch information