Fix requested changes.

This commit is contained in:
Michael Ledin
2017-06-05 11:52:27 +03:00
parent eab5bd9833
commit 8cb0a9fc2f
4 changed files with 9 additions and 4 deletions

View File

@@ -8,4 +8,4 @@ import * as request from 'superagent';
declare const plugin: request.Plugin;
export default plugin;
export = plugin;

View File

@@ -1,5 +1,5 @@
import * as request from 'superagent';
import plugin from 'superagent-no-cache';
import * as plugin from 'superagent-no-cache';
request
.get('/some-url')

View File

@@ -6,4 +6,9 @@
import * as request from 'superagent';
export default function(prefix: string): request.Plugin;
declare function plugin(prefix: string): request.Plugin;
declare namespace plugin {
}
export = plugin;

View File

@@ -1,5 +1,5 @@
import * as request from 'superagent';
import plugin from 'superagent-prefix';
import * as plugin from 'superagent-prefix';
request
.get('/some-url')