diff options
Diffstat (limited to 'op_crates/webidl/internal.d.ts')
-rw-r--r-- | op_crates/webidl/internal.d.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/op_crates/webidl/internal.d.ts b/op_crates/webidl/internal.d.ts index 425ee674e..ca72566a5 100644 --- a/op_crates/webidl/internal.d.ts +++ b/op_crates/webidl/internal.d.ts @@ -286,6 +286,18 @@ declare namespace globalThis { v: Record<K, V>, opts: ValueConverterOpts, ) => any; + + /** + * Mix in the iterable declarations defined in WebIDL. + * https://heycam.github.io/webidl/#es-iterable + */ + declare function mixinPairIterable( + name: string, + prototype: any, + dataSymbol: symbol, + keyKey: string | number | symbol, + valueKey: string | number | symbol, + ): void; } } } |