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.39k stars 85 forks source link

JSDoc type for directoryOpen options.recursive is wrong(?) #3

Closed bates64 closed 4 years ago

bates64 commented 4 years ago

https://github.com/GoogleChromeLabs/browser-nativefs/blob/7964bc90b53d73737d81bdced8ce756d0e1e5081/src/nativefs/directory-open-nativefs.mjs#L32

Looks like options.recursive is used as a boolean, but it's marked as a string[]. Is this a mistake?