locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
5 lines (4 loc) • 338 B
TypeScript
import type { PhpCallableArgs, PhpCallableDescriptor, PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type FunctionArg = PhpRuntimeValue;
export declare function call_user_func<TResult = FunctionArg, TArgs extends PhpCallableArgs = PhpCallableArgs>(cb: PhpCallableDescriptor<TArgs, TResult>, ...parameters: TArgs): TResult;
export {};