This commit is contained in:
parent
7a9bf3199a
commit
c294e2e9ae
5702 changed files with 465039 additions and 34 deletions
7
node_modules/synckit/lib/index.d.ts
generated
vendored
Normal file
7
node_modules/synckit/lib/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import type { AnyFn, Syncify, SynckitOptions } from './types.js';
|
||||
export * from './common.js';
|
||||
export * from './constants.js';
|
||||
export * from './helpers.js';
|
||||
export * from './types.js';
|
||||
export declare function createSyncFn<T extends AnyFn>(workerPath: URL | string, timeoutOrOptions?: SynckitOptions | number): Syncify<T>;
|
||||
export declare function runAsWorker<T extends AnyFn<Promise<R> | R>, R = ReturnType<T>>(fn: T): void;
|
||||
Loading…
Add table
Add a link
Reference in a new issue