mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
404 B
TypeScript
21 lines
404 B
TypeScript
import * as concurrently from 'concurrently';
|
|
|
|
concurrently(['echo foo']); // $ExpectType Promise<null>
|
|
// $ExpectType Promise<null>
|
|
concurrently(
|
|
[
|
|
'echo foo',
|
|
{
|
|
command: 'echo bar',
|
|
name: 'bar',
|
|
prefixColor: 'yellow',
|
|
},
|
|
],
|
|
{
|
|
prefix: 'foo',
|
|
killOthers: ['success'],
|
|
},
|
|
);
|
|
|
|
concurrently('foo'); // $ExpectError
|