Fix fetch-mock with TypeScript version 2.2

This commit is contained in:
Tanguy Krotoff
2017-02-27 18:00:08 +01:00
parent 5a239fffbe
commit d2267ead20
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/wheresrhys/fetch-mock
// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov>, Tamir Duberstein <https://github.com/tamird>, Risto Keravuori <https://github.com/merrywhether>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="whatwg-fetch" />
// TypeScript Version: 2.2
type MockRequest = Request | RequestInit;