// Type definitions for concurrently 4.1 // Project: https://github.com/kimmobrunfeldt/concurrently#readme // Definitions by: Michael B. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// export = concurrently; declare function concurrently( commands: Array, options?: concurrently.Options, ): Promise; declare namespace concurrently { interface CommandObj { command: string; name?: string; prefixColor?: string; } interface Options { defaultInputTarget?: number; inputStream?: NodeJS.ReadableStream; killOthers?: Array<'success' | 'failure'>; outputStream?: NodeJS.WritableStream; prefix?: 'index' | 'pid' | 'time' | 'command' | 'name' | 'none' | string; prefixLength?: number; raw?: boolean; restartTries?: number; restartDelay?: number; successCondition?: 'first' | 'last'; timestampFormat?: string; } }