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:
Gregor Martynus
2019-05-15 16:00:02 -07:00
committed by Nathan Shively-Sanders
parent b578fe0b29
commit 7dda14dff5

View File

@@ -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