fs
fs copied to clipboard
Should converting chunk to a FileSystemWriteChunkType refer to IDL type conversion instead?
See step 1 of https://fs.spec.whatwg.org/#write-a-chunk
Let input be the result of converting chunk to a FileSystemWriteChunkType. If this throws an exception, then return a promise rejected with that exception.
it refers to https://infra.spec.whatwg.org/#javascript-string-convert which seems wrong, should it refer to https://webidl.spec.whatwg.org/#dfn-convert-ecmascript-to-idl-value instead?