mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
fix linting errors
This commit is contained in:
@@ -154,4 +154,3 @@ fetchMock.config.fetch = (): Promise<Response> => new Promise(() => { });
|
||||
fetchMock.config.Headers = Headers;
|
||||
fetchMock.config.Request = Request;
|
||||
fetchMock.config.Response = Response;
|
||||
|
||||
|
||||
Vendored
+3
-3
@@ -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>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user