Apply suggestions from code review

Co-Authored-By: msanguineti <19243840+msanguineti@users.noreply.github.com>
This commit is contained in:
ExE Boss
2019-04-12 14:45:17 +03:00
committed by GitHub
parent d2e7e589a9
commit 226cc36ae9

View File

@@ -966,9 +966,8 @@ export type ShellString = string & ShellReturnValue;
export type ShellArray = string[] & ShellReturnValue;
export const ShellString: ShellStringFunction;
export interface ShellStringFunction {
export interface ShellStringConstructor {
/**
* Wraps a string (or array) value. This has all the string (or array) methods,
* but also exposes extra methods: `.to()`, `.toEnd()`, and all the pipe-able
@@ -1011,6 +1010,8 @@ export interface ShellStringFunction {
(value: string[]): ShellArray;
}
export const ShellString: ShellStringConstructor;
export interface ChmodFunction {
/**
* Alters the permissions of a file or directory by either specifying the absolute