UNPKG

@typed/test

Version:
2 lines (1 loc) 79 B
export declare function throws<Err extends Error = Error>(fn: () => any): Err;