UNPKG

test-nut-ui

Version:

<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>

7 lines (6 loc) 291 B
export type Interceptor = (...args: any[]) => Promise<boolean> | boolean | undefined | void; export declare const funcInterceptor: (interceptor: Interceptor | undefined, { args, done, canceled, }: { args?: unknown[]; done: (val?: any) => void; canceled?: () => void; }) => void;