Re: [w3c/IndexedDB] Shouldn't keyPath properties be (DOMString or FrozenArray<DOMString>)? (#235)

The TypeScript thing is nothing to worry about anymore; it has its own override, although overriding anything is not ideal. https://github.com/microsoft/TypeScript-DOM-lib-generator/blob/c86018dfd7edcf7a8959623c20abb1ae8d54b2dc/inputfiles/overridingTypes.jsonc#L955

I was just looking at Gecko IDL code, found it's still returning `any`, and wondered it could be clarified in IDL. But given that `any` allows non-frozen array I think it's too late to change the spec to force a frozen one.

A short comment at the IDL may help readers, though, which is still doable.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/235#issuecomment-999835914
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/issues/235/999835914@github.com>

Received on Wednesday, 22 December 2021 20:13:01 UTC