mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Update "node-fetch" typings (#11834)
* Update "node-fetch" typings Convert to external module and remove `namespace _fetch` * Fix test * Don't need patch version
This commit is contained in:
@@ -4,7 +4,7 @@ import FormData = require('form-data');
|
||||
import fs = require('fs');
|
||||
import http = require('http');
|
||||
import request = require('request');
|
||||
import fetch = require('node-fetch');
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
import * as ImportUsingES6Syntax from 'form-data';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user