@kcws/lintstaged-config
Version:
kamontat's lintstaged config
31 lines • 915 B
TypeScript
import { ConfigFn } from "../models/IConfig";
/**
* A walking callback with walk nested directory
*
* @internal
*/
export type _WalkCallback = (directory: string) => string | undefined;
/**
* build rush command using internal command finder.
*
* @param pkg - package name that will run on
* @param cmd - rush command to execute
* @param args - additional command arguments
* @returns command string
*
* @beta
*/
export declare const rushOn: (pkg: string | undefined, cmd: string, ...args: Array<string>) => string;
/**
* build rush command using internal command finder.
* this will automatically resolve package to run
* using cwd and package.json file.
*
* @param cmd - rush command to execute
* @param args - additional command arguments
* @returns command string
*
* @beta
*/
export declare const rush: (cmd: string, ...args: Array<string>) => ConfigFn;
//# sourceMappingURL=rush.d.ts.map