vegan-ipsum
Version:
Generates passages of vegan-themed placeholder text suitable for use in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.
19 lines (15 loc) • 612 B
TypeScript
/**
* Minimal TypeScript declaration for the `nock-exec` test helper.
* The real package is a small test helper used only in tests, so keep typing permissive.
*/
declare module 'nock-exec' {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type ExecResult = any;
/**
* Mock execution of a shell command. Returns a helper object or value used by tests.
* Signature is permissive so tests can use the helper freely.
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function nockExec(command: string, ...args: any[]): ExecResult;
export default nockExec;
}