nanolith
Version:
Multi-threading in no time with seamless TypeScript support.
8 lines (7 loc) • 382 B
TypeScript
import type { TaskDefinitions } from '../types/definitions.js';
export declare const getCurrentFile: (index?: number) => string;
export declare const assertCurrentFileNotEqual: (file: string) => void;
/**
* Automatically generate an identifier for a set of definitions based on its method keys.
*/
export declare const getAutoIdentifier: (definitions: TaskDefinitions) => string;