- From: Solomon Kinard <notifications@github.com>
- Date: Thu, 25 Apr 2024 11:42:35 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 25 April 2024 18:42:39 UTC
### What problem are you trying to solve?
An IDL definition that would describe the following JavaScript:
```{
"1": "one",
"1000000": million,
"any": "wildcard"
}```
### What solutions exist today?
Perhaps IDL supports an "object", and if so, that has no structure.
### How would you solve it?
Upon further investigation, it looks like this might already be possible through something like:
```record<(DOMString or object), object> MyDynamicDictionary;```
### Anything else?
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1401
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/issues/1401@github.com>
Received on Thursday, 25 April 2024 18:42:39 UTC