From 99c3f6925a56a6829253589c8d02a91b4422e391 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Sat, 21 Oct 2017 15:56:28 +0200 Subject: [PATCH] fix(typings): fix error, the expression of an export assignment must be an identifier orqualified name in an ambient context when using TypeScript `2.6.0-rc` More information https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#arbitrary-expressions-are-forbidden-in-export-assignments-in-ambient-contexts --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 7505746..2e98e64 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -86,5 +86,5 @@ export interface Chalk { bgWhiteBright: Chalk; } -declare function chalk (): any; -export default chalk as Chalk; +declare const _chalk: Chalk; +export default _chalk;