5 lines
215 B
TypeScript
5 lines
215 B
TypeScript
|
declare function shouldThrowError<T extends (...args: Array<any>) => boolean>(throwError: boolean | T | undefined, params: Parameters<T>): boolean;
|
||
|
declare function noop(): void;
|
||
|
|
||
|
export { noop, shouldThrowError };
|