Frontend/25_01_07/mai/node_modules/set-function-name/index.d.ts
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

5 lines
170 B
TypeScript

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