Closed Vinnl closed 1 year ago
That looks like incorrect indeed. Thanks for the report. I am honestly not sure, if this is a problem of the schemas or my misunderstanding of the schemas. I will take a look.
Aside from that: it's really difficult to make changes to the schema files, as you'll have to get into mozillas versioning tools. I've tried a while back and concluded, that I'd rather make fixes here.
It seems it was my misunderstanding of the schemas. Will be fixed in the next version.
Fantastic, thank you so much!
According to MDN, the first parameter to the listener
In other words, a
Record<string, StorageChange>
.However, in the type definitions, it looks like the parameter itself is the
StorageChange
type directly, rather than in aRecord
:Not sure if I should report this in this repo, or if I need to report it somewhere for the upstream schemas - would appreciate pointers if it's the latter.