diff --git a/types/pad/index.d.ts b/types/pad/index.d.ts index f169c8b564..9bf8a32dad 100644 --- a/types/pad/index.d.ts +++ b/types/pad/index.d.ts @@ -6,6 +6,10 @@ export = pad; /** left pad */ +declare function pad(length: number, text: string, char?: string): string; +// tslint:disable-next-line unified-signatures declare function pad(length: number, text: string, options?: { char?: string, colors?: boolean, strip?: boolean }): string; /** Right pad */ +declare function pad(text: string, length: number, char?: string): string; +// tslint:disable-next-line unified-signatures declare function pad(text: string, length: number, options?: { char?: string, colors?: boolean, strip?: boolean }): string;