forked from axios/axios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing axios#3219 by referencing DOM built-in library
Just following @trgwii suggestion. Works for me at least. Triple slash directives are supported from typescript 3 so I updated the dependency to ^3.9.7 this might be a breaking change
- Loading branch information
Guillaume Mayer
committed
Aug 22, 2020
1 parent
0d87655
commit 7c280fa
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/// <reference lib="DOM" /> | ||
|
||
export interface AxiosTransformer { | ||
(data: any, headers?: any): any; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters