UNPKG

@thepassle/app-tools

Version:

Collection of tools I regularly use to build apps. Maybe they're useful to somebody else. Maybe not. Most of these are thin wrappers around native API's, like the native `<dialog>` element, `fetch` API, and `URLPattern`.

6 lines (5 loc) 247 B
/** * @param {Response | (() => Response) | (() => Promise<Response>)} response * @returns {import('../index.js').Plugin} */ export function mock(response: Response | (() => Response) | (() => Promise<Response>)): import('../index.js').Plugin;