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