lix-website/themes/lix/assets/bootstrap/node_modules/set-function-name/index.d.ts

5 lines
170 B
TypeScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
type Func = (...args: unknown[]) => unknown;
declare function setFunctionName<T extends Func = Func>(fn: T, name: string, loose?: boolean): T;
export = setFunctionName;