UNPKG

@beenotung/tslib

Version:
9 lines (8 loc) 383 B
/** * @description may not work after being minify due to scoped name collision * */ export declare function wrapFunction<F extends Function>(_host_function_: F, n?: number, name?: string): F; /** * @description safe under minify, but occur more call stack size * */ export declare function safeWrapFunction<F extends Function>(_host_function_: F, n?: number, name?: string): F;