We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7047014 + 541ee23 commit 554acbcCopy full SHA for 554acbc
packages/abstractions/src/headers.ts
@@ -258,15 +258,15 @@ export class Headers extends Map<string, Set<string>> {
258
* get keys of the headers collection
259
* @returns an iterator of keys
260
*/
261
- public keys(): StringIterator<string> {
+ public keys(): IterableIterator<string> {
262
return Object.keys(this.headers)[Symbol.iterator]();
263
}
264
265
/**
266
* get entries
267
* @returns an iterator of entries
268
269
- public entries(): MapIterator<[string, Set<string>]> {
+ public entries(): IterableIterator<[string, Set<string>]> {
270
return Object.entries(this.headers)[Symbol.iterator]();
271
272
0 commit comments