mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add Headers.forEach() function, which was missing from whatwg-fetch.d.ts
This commit is contained in:
1 parent
0658d41e16
commit
91d963959f
1 file changed
+1
Vendored
+1
@@ -42,6 +42,7 @@ declare class Headers {
|
||||
getAll(name: string): Array<string>;
|
||||
has(name: string): boolean;
|
||||
set(name: string, value: string): void;
|
||||
forEach(callback: (value: string, name: string) => void): void;
|
||||
}
|
||||
|
||||
declare class Body {
|
||||
|
||||
Reference in new issue
Block a user