browser-headers
Version:
> Compatibility Layer for the Headers class
12 lines (11 loc) • 364 B
TypeScript
export declare interface WindowHeaders {
get(key: string): string[];
getAll(key: string): string[];
has(key: string): boolean;
delete(key: string): void;
keys(): any;
entries(): any;
forEach(callback: (value: string, key: string) => void): any;
append(key: string, value: string): void;
set(key: string, value: string): void;
}