fix linting errors

This commit is contained in:
Colin Doig
2019-01-12 22:32:28 +13:00
parent 29f9af1fb0
commit a1f3491bdf
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -154,4 +154,3 @@ fetchMock.config.fetch = (): Promise<Response> => new Promise(() => { });
fetchMock.config.Headers = Headers;
fetchMock.config.Request = Request;
fetchMock.config.Response = Response;
+3 -3
View File
@@ -556,7 +556,7 @@ declare namespace fetchMock {
* - false: Appends the new route to the list of routes
* @default undefined
*/
overwriteRoutes?: boolean | undefined;
overwriteRoutes?: boolean;
/**
* Print a warning if any call is caught by a fallback handler (set
@@ -570,8 +570,8 @@ declare namespace fetchMock {
* implementation.
*/
Promise?: new (executor: (
resolve: Function,
reject: Function,
resolve: () => void,
reject: () => void,
) => void) => Promise<Response>;
/**