1d47844 Finally added a type assignment from the FS module of @types/node. BrowserFS is assignable to Node v10 and below. We must support up to Node v20.
Rather than changing the internals, it would be easy to implement some of these functions in the compatibility layer (e.g. with rmSync, we could easily write code that uses existing BFS internal code rather than implementing new internals for it).
1d47844 Finally added a type assignment from the FS module of @types/node. BrowserFS is assignable to Node v10 and below. We must support up to Node v20.
Rather than changing the internals, it would be easy to implement some of these functions in the compatibility layer (e.g. with
rmSync
, we could easily write code that uses existing BFS internal code rather than implementing new internals for it).