- From: François Beaufort <notifications@github.com>
- Date: Tue, 20 Apr 2021 01:14:08 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 April 2021 08:14:20 UTC
Hey folks, I read that record type keys [must be](https://heycam.github.io/webidl/#idl-record) one of DOMString, USVString, or ByteString. Would it be possible to consider `unsigned short` as well or is there another way to think about this?
Here's what I'd like to implement.
```idl
dictionary Foo {
...
record<unsigned short, Bar> someName;
};
dictionary Bar {
BufferSource someSource;
BufferSource anotherSource;
};
```
Thanks in advance,
Francois.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/978
Received on Tuesday, 20 April 2021 08:14:20 UTC