@types/moxios
- Version 0.4.17
- Published
- 7.93 kB
- 1 dependency
- MIT license
Install
npm i @types/moxios
yarn add @types/moxios
pnpm add @types/moxios
Overview
TypeScript definitions for moxios
Index
Variables
Variables
variable moxios
let moxios: { stubs: Tracker; requests: Tracker; delay: number; timeoutException: Error; install(instance?: AxiosInstance): void; uninstall(instance?: AxiosInstance): void; stubRequest(urlOrRegExp: string | RegExp, response: Item): void; stubRequest(method: string, urlOrRegExp: string | RegExp, response: Item): void; stubOnce( method: string, urlOrRegExp: string | RegExp, response: Item ): Promise<void>; stubFailure( method: string, urlOrRegExp: string | RegExp, response: Item ): Promise<void>; stubTimeout(urlOrRegExp: string | RegExp): string; withMock(fn: () => void): void; wait(fn: () => void, delay?: number): void;};
Package Files (1)
Dependencies (1)
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/moxios
.
- Markdown[](https://www.jsdocs.io/package/@types/moxios)
- HTML<a href="https://www.jsdocs.io/package/@types/moxios"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3338 ms. - Missing or incorrect documentation? Open an issue for this package.