mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-30 23:30:06 +00:00
fetch-mock: response header values are always strings (#35502)
follow up for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35462#issuecomment-492769019
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
b578fe0b29
commit
7dda14dff5
2
types/fetch-mock/index.d.ts
vendored
2
types/fetch-mock/index.d.ts
vendored
@@ -82,7 +82,7 @@ declare namespace fetchMock {
|
||||
/**
|
||||
* Set the response headers.
|
||||
*/
|
||||
headers?: { [key: string]: string | number };
|
||||
headers?: { [key: string]: string };
|
||||
|
||||
/**
|
||||
* If this property is present then a Promise rejected with the value
|
||||
|
||||
Reference in New Issue
Block a user