2 lines
127 B
TypeScript
2 lines
127 B
TypeScript
|
export declare const dynamicFunction: <F extends (...args: any[]) => any>(implementation: F) => [fn: F, set: (fn: F) => void];
|