From f14b5c8a2f0be503ac455054a91573c63f0e5088 Mon Sep 17 00:00:00 2001
From: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Date: Mon, 21 Jul 2025 14:30:30 -0700
Subject: [PATCH] Remove unused and confusing dom.iterable.d.ts file (#62037)
---
src/lib/dom.iterable.d.ts | 125 --------------------------------------
1 file changed, 125 deletions(-)
delete mode 100644 src/lib/dom.iterable.d.ts
diff --git a/src/lib/dom.iterable.d.ts b/src/lib/dom.iterable.d.ts
deleted file mode 100644
index d6d9975ddbd..00000000000
--- a/src/lib/dom.iterable.d.ts
+++ /dev/null
@@ -1,125 +0,0 @@
-///
-
-interface DOMTokenList {
- [Symbol.iterator](): ArrayIterator;
-}
-
-interface HeadersIterator extends IteratorObject {
- [Symbol.iterator](): HeadersIterator;
-}
-
-interface Headers {
- [Symbol.iterator](): HeadersIterator<[string, string]>;
- /**
- * Returns an iterator allowing to go through all key/value pairs contained in this object.
- */
- entries(): HeadersIterator<[string, string]>;
- /**
- * Returns an iterator allowing to go through all keys f the key/value pairs contained in this object.
- */
- keys(): HeadersIterator;
- /**
- * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
- */
- values(): HeadersIterator;
-}
-
-interface NodeList {
- /**
- * Returns an array of key, value pairs for every entry in the list
- */
- entries(): ArrayIterator<[number, Node]>;
- /**
- * Performs the specified action for each node in an list.
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
- */
- forEach(callbackfn: (value: Node, index: number, listObj: NodeList) => void, thisArg?: any): void;
- /**
- * Returns an list of keys in the list
- */
- keys(): ArrayIterator;
-
- /**
- * Returns an list of values in the list
- */
- values(): ArrayIterator;
-
- [Symbol.iterator](): ArrayIterator;
-}
-
-interface NodeListOf {
- /**
- * Returns an array of key, value pairs for every entry in the list
- */
- entries(): ArrayIterator<[number, TNode]>;
-
- /**
- * Performs the specified action for each node in an list.
- * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
- * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
- */
- forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf) => void, thisArg?: any): void;
- /**
- * Returns an list of keys in the list
- */
- keys(): ArrayIterator;
- /**
- * Returns an list of values in the list
- */
- values(): ArrayIterator;
-
- [Symbol.iterator](): ArrayIterator;
-}
-
-interface HTMLCollectionBase {
- [Symbol.iterator](): ArrayIterator;
-}
-
-interface HTMLCollectionOf {
- [Symbol.iterator](): ArrayIterator;
-}
-
-interface FormDataIterator extends IteratorObject {
- [Symbol.iterator](): FormDataIterator;
-}
-
-interface FormData {
- /**
- * Returns an array of key, value pairs for every entry in the list
- */
- entries(): FormDataIterator<[string, string | File]>;
- /**
- * Returns a list of keys in the list
- */
- keys(): FormDataIterator;
- /**
- * Returns a list of values in the list
- */
- values(): FormDataIterator;
-
- [Symbol.iterator](): FormDataIterator;
-}
-
-interface URLSearchParamsIterator extends IteratorObject {
- [Symbol.iterator](): URLSearchParamsIterator;
-}
-
-interface URLSearchParams {
- /**
- * Returns an array of key, value pairs for every entry in the search params
- */
- entries(): URLSearchParamsIterator<[string, string]>;
- /**
- * Returns a list of keys in the search params
- */
- keys(): URLSearchParamsIterator;
- /**
- * Returns a list of values in the search params
- */
- values(): URLSearchParamsIterator;
- /**
- * iterate over key/value pairs
- */
- [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
-}