Skip to content

Dictionary constructors do not contain parameters from the supertype's constructor #188

Closed
@ditman

Description

@ditman

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?

Footnotes

  1. 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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions