From 14eed8a1fef49ef9543dd9a75a5622afb23ade30 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Wed, 26 Oct 2016 07:34:34 +0200 Subject: [PATCH] Replaced Text with string --- ora/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ora/index.d.ts b/ora/index.d.ts index 6e06bd35ec..976005200b 100644 --- a/ora/index.d.ts +++ b/ora/index.d.ts @@ -7,9 +7,8 @@ declare module "ora" { type Color = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray'; - type Text = string; interface Options { - text?: Text; + text?: string; spinner?: string | Spinner; color?: Color; interval?: number; @@ -32,6 +31,6 @@ declare module "ora" { text: string; color: Color; } - function ora(options: Options | Text): Instance; + function ora(options: Options | string): Instance; export = ora; }