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
This commit is contained in:
Alan Agius 2017-10-21 15:56:28 +02:00
parent d86db88e77
commit 99c3f6925a

4
types/index.d.ts vendored
View file

@ -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;