From 60d9ffa196e8c551c7ebbbdcdcfe4d870cf77f70 Mon Sep 17 00:00:00 2001 From: Niklas Mollenhauer Date: Tue, 13 Oct 2015 07:20:11 +0200 Subject: [PATCH] Fix parameter types of padders --- easy-table/easy-table.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy-table/easy-table.d.ts b/easy-table/easy-table.d.ts index e06cfdd279..60bcb04574 100644 --- a/easy-table/easy-table.d.ts +++ b/easy-table/easy-table.d.ts @@ -23,7 +23,7 @@ declare module "easy-table" * @param {String} ch * @returns {Function} */ - public static leftPadder(ch: number): CellPrinter; + public static leftPadder(ch: string): CellPrinter; public static padLeft: CellPrinter; @@ -33,9 +33,9 @@ declare module "easy-table" * @param {String} ch * @returns {Function} */ - public static rightPadder(ch: number): CellPrinter; + public static rightPadder(ch: string): CellPrinter; - public static padRight: CellPrinter; + // public static padRight: CellPrinter; /** * Create a printer for numbers