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:
Andy
2016-10-20 08:47:19 -07:00
committed by GitHub
parent 65166af553
commit b06c56b70b
3 changed files with 90 additions and 101 deletions

View File

@@ -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';