diff --git a/src/cli.ts b/src/cli.ts index 884e704..ab2e803 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /* eslint-disable no-console */ -import * as chalk from "chalk"; +import chalk from "chalk"; import { program, Option } from "commander"; import { codegen } from "./codegen"; diff --git a/tsconfig.json b/tsconfig.json index c9aa94e..4986a6b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "allowSyntheticDefaultImports": true, "module": "esnext", "moduleResolution": "node", "lib": ["ESNext", "DOM"],