diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-04-14 22:49:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 22:49:16 +0200 |
commit | 353e79c796efc6c6aa328abb4d7cef5e642944af (patch) | |
tree | 5ae6d1778c0a1dfa53ac62e409d6da8cdb31285f /op_crates/webidl/internal.d.ts | |
parent | 5214acd3d9dec56ee159544f0f6bf9834a62c097 (diff) |
chore: align FormData to spec (#10169)
This PR aligns `FormData` to spec. All WPT tests are passing.
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; } } } |