Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix: do use esModuleInterop (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored May 15, 2020
1 parent 089b858 commit 69ab718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as ansiStyles from 'ansi-styles'
import chalk from 'chalk'
import * as chalk from 'chalk'
import * as supports from 'supports-color'
import {deprecate} from 'util'

Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"rootDirs": [ "./src" ],
"strict": true,
"target": "es2017",
"typeRoots": [ "./node_modules/@types" ],
"esModuleInterop": true
"typeRoots": [ "./node_modules/@types" ]
},
"include": [
"./src/**/*"
Expand Down

0 comments on commit 69ab718

Please sign in to comment.