mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
The SuperAgent intro doc uses 'headers': https://visionmedia.github.io/superagent/#request-basics I tested with superagent v3.x-6.x and both '.header' and '.headers' have the same value: ``` const superagent = require('superagent'); superagent.get('https://www.google.com').then(res => { console.log('header', res.header); console.log('headers', res.headers); }); ``` |
||
|---|---|---|
| .. | ||
| v2 | ||
| index.d.ts | ||
| superagent-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||