From 7dda14dff5afa2d076b712e697e1788f2dd3c2cc Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Wed, 15 May 2019 16:00:02 -0700 Subject: [PATCH] fetch-mock: response header values are always strings (#35502) follow up for https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35462#issuecomment-492769019 --- types/fetch-mock/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/fetch-mock/index.d.ts b/types/fetch-mock/index.d.ts index 8c441ea26a..a8df26e43a 100644 --- a/types/fetch-mock/index.d.ts +++ b/types/fetch-mock/index.d.ts @@ -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