index.d.ts 170 B

12345
  1. type Func = (...args: unknown[]) => unknown;
  2. declare function setFunctionName<T extends Func = Func>(fn: T, name: string, loose?: boolean): T;
  3. export = setFunctionName;