mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 08:17:54 +08:00
10 lines
191 B
TypeScript
10 lines
191 B
TypeScript
import * as request from 'superagent';
|
|
import * as plugin from 'superagent-no-cache';
|
|
|
|
request
|
|
.get('/some-url')
|
|
.use(plugin)
|
|
.end((err, res) => {
|
|
// Do something
|
|
});
|