npm-run-all2
Version:
A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)
17 lines (14 loc) • 435 B
TypeScript
declare module 'which' {
export interface WhichOptions {
path?: string
pathExt?: string
all?: boolean
nothrow?: boolean
}
export interface WhichResult {
status: boolean
output: string | null
}
export default function which (command: string, options: WhichOptions & { nothrow: true }): Promise<WhichResult>
export default function which (command: string, options?: WhichOptions): Promise<string>
}