function-exec-sync
Version:
Run a function in a node process
6 lines (5 loc) • 310 B
text/typescript
import './polyfills.cjs';
import type { ExecWorkerOptions } from './types.ts';
export type * from './types.ts';
export default function functionExecSync(filePath: string, ...args: unknown[]): any;
export default function functionExecSync(options: ExecWorkerOptions, filePath: string, ...args: unknown[]): any;