Closed gzlkylin closed 1 year ago
declare class FormData { ... forEach( callback: ( this: This, key: string, value: File | string, parent: FormData ) => void, thisArg?: This ): void; ... } declare class URLSearchParams { ... forEach( callback: ( this: This, key: string, value: File | string, parent: FormData ) => void, thisArg?: This ): void; ... } declare class Headers { ... forEach( callback: ( this: This, key: string, value: File | string, parent: FormData ) => void, thisArg?: This ): void; ... }
key: string, value: File | string => value: File | string, key: string
https://github.com/cloudflare/workers-types/pull/284
Closed by #284
declare class FormData { ... forEach(
callback: (
this: This,
key: string,
value: File | string,
parent: FormData
) => void,
thisArg?: This
): void;
...
}
declare class URLSearchParams {
...
forEach(
callback: (
this: This,
key: string,
value: File | string,
parent: FormData
) => void,
thisArg?: This
): void;
...
}
declare class Headers {
...
forEach(
callback: (
this: This,
key: string,
value: File | string,
parent: FormData
) => void,
thisArg?: This
): void;
...
}
key: string, value: File | string => value: File | string, key: string