mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Apply suggestions from code review
Co-Authored-By: msanguineti <19243840+msanguineti@users.noreply.github.com>
This commit is contained in:
5
types/shelljs/index.d.ts
vendored
5
types/shelljs/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user