GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Possible incorrect typing #91

Closed rodemananthony closed 2 years ago

rodemananthony commented 2 years ago

https://github.com/GoogleChromeLabs/browser-fs-access/blob/d65a322c19cdd8395e3a4a50574dd27752ba5e9a/index.d.ts#L166

While I could be entirely wrong, I believe the type at this line should be FileSystemDirectoryHandle instead of FileSystemDirectoryEntry.

tomayac commented 2 years ago

Good spot. Thank you!