@types/supertest
- Version 6.0.3
- Published
- 8.08 kB
- 2 dependencies
- MIT license
Install
npm i @types/supertestyarn add @types/supertestpnpm add @types/supertestOverview
TypeScript definitions for supertest
Index
Variables
Interfaces
Type Aliases
Variables
variable supertest
const supertest: supertest.SuperTestStatic;Interfaces
interface Agent
interface Agent extends stAgent {}interface SuperTestStatic
interface SuperTestStatic {}property agent
agent: typeof stAgent & ((app?: App, options?: STAgentOptions) => InstanceType<typeof stAgent>);property Test
Test: typeof STest;call signature
(app: App, options?: STAgentOptions): stAgent;interface Test
interface Test extends STest {}Type Aliases
type AgentOptions
type AgentOptions = STAgentOptions;type CallbackHandler
type CallbackHandler = superagent.CallbackHandler;type Request
type Request = superagent.SuperAgentRequest;type Response
type Response = superagent.Response;type SuperAgentTest
type SuperAgentTest = SuperTest<Test>;type SuperTest
type SuperTest<Req extends Test = Test> = superagent.SuperAgent<Req>;Package Files (1)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/supertest.
- Markdown[](https://www.jsdocs.io/package/@types/supertest)
- HTML<a href="https://www.jsdocs.io/package/@types/supertest"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2414 ms. - Missing or incorrect documentation? Open an issue for this package.
