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:
parent
d86db88e77
commit
99c3f6925a
1 changed files with 2 additions and 2 deletions
4
types/index.d.ts
vendored
4
types/index.d.ts
vendored
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue