Based on:
- emscripten docs
- TS definition
- inspection of printed FS retrieved from module
Differential D8544
[web] Add types for WASM File System API kamil on Jul 19 2023, 2:27 AM. Authored by Tags None Referenced Files
Subscribers
Details
Based on:
flow
Diff Detail
Event Timeline
Comment Actions Personally I don't like the FS$ namespacing and don't think it's needed (it's namespaced to the the module/file anyway)
Comment Actions remove FS$ prefix
Comment Actions Interface is a weird construction in Flow... it's generally best to use type if possible. Is there a strong reason for using interface here? I guess it matches TypeScript, and at this point it would probably be too much work to update it... But in the future it's best to start with type if possible. Comment Actions Yeah probably the only reason was that I tried to match TypeScript. I created a follow-up ENG-4526. I'll update this when I will have any spare cycles. |