Skip to content

Commit

Permalink
Add TypeScript comment for shell option
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 8, 2019
1 parent 8342448 commit 4efb7c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -65,6 +65,7 @@ declare namespace execa {

/**
If `true`, runs `command` inside of a shell. Uses `/bin/sh` on UNIX and `cmd.exe` on Windows. A different shell can be specified as a string. The shell should understand the `-c` switch on UNIX or `/d /s /c` on Windows.
We recommend against using this option since it is not cross-platform, slower and unsafe.
@default false
*/
Expand Down

0 comments on commit 4efb7c9

Please sign in to comment.