The FilePropertyBag constructor only accepts the lastModified property, however since it extends BlobPropertyBag, it should also support (and "pass through"1) type and endings (MDN)
Is there any way of expressing this in the generated code, or does this need a specific helper?
The
FilePropertyBagconstructor only accepts thelastModifiedproperty, however since it extendsBlobPropertyBag, it should also support (and "pass through"1)typeandendings(MDN)Is there any way of expressing this in the generated code, or does this need a specific helper?
Footnotes
This pass-through is probably a noop, there's no need to call the super constructor for this in JS, it's just that these PropertyBags should merge all the constructor arguments as you go down the inheritance chain? ↩