@omni-door/utils
Version:
The utils of omni-door's projects
6 lines (5 loc) • 380 B
TypeScript
import type { Options } from './npmVersion';
import type { STRATEGY } from './global.d';
export declare function getDependency<T extends Record<string, string>>(strategy: STRATEGY, dependencies: T, options?: Options): Promise<(key: keyof T) => string>;
export declare function arr2str(arr: string[]): string;
export declare function intersection(arr1: any[], arr2: any[]): any[];