diff --git a/types/shelljs/index.d.ts b/types/shelljs/index.d.ts index 05bb9b233b..c425ac6180 100644 --- a/types/shelljs/index.d.ts +++ b/types/shelljs/index.d.ts @@ -368,8 +368,7 @@ export interface ShellReturnValue extends ExecOutputReturnValue { export type ShellString = string & ShellReturnValue; -export type ShellArray = Array & ShellReturnValue; - +export type ShellArray = string[] & ShellReturnValue; /** * Alters the permissions of a file or directory by either specifying the absolute permissions in octal form or expressing the changes in symbols. This command tries to mimic the POSIX behavior as much as possible. Notable exceptions: