UNPKG

@ayonli/jsext

Version:

A JavaScript extension package for building strong and modern applications.

5 lines (4 loc) 292 B
export default function example<T, A extends any[] = any[]>(fn: (this: T, console: Console, ...args: A) => void | Promise<void>, options?: { /** Suppress logging to the terminal and only check the output. */ suppress?: boolean; } | undefined): (this: T, ...args: A) => Promise<void>;