From 79610aca3c393f13867fc108d731121294660d50 Mon Sep 17 00:00:00 2001 From: Aluan Haddad Date: Wed, 7 Mar 2018 04:19:52 -0500 Subject: [PATCH] add Ora.prototype.frameIndex Adds the `Ora.prototype.frameIndex` member. https://github.com/sindresorhus/ora/blob/master/index.js#L37 add Ora.prototype.frameIndex --- types/ora/index.d.ts | 2 ++ types/ora/tsconfig.json | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/types/ora/index.d.ts b/types/ora/index.d.ts index f5dd605073..d43a01c7cf 100644 --- a/types/ora/index.d.ts +++ b/types/ora/index.d.ts @@ -119,6 +119,8 @@ declare class Ora { text: string; color: Color; + + frameIndex: number; } interface oraFactory { diff --git a/types/ora/tsconfig.json b/types/ora/tsconfig.json index 4092876efe..d283fa111a 100644 --- a/types/ora/tsconfig.json +++ b/types/ora/tsconfig.json @@ -14,10 +14,11 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts", "ora-tests.ts" ] -} \ No newline at end of file +}