diff --git a/src/cli.ts b/src/cli.ts index 54f70722..a93fc8ab 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -15,8 +15,8 @@ * limitations under the License. */ import * as path from 'path'; -import meow from 'meow'; -import updateNotifier from 'update-notifier'; +import * as meow from 'meow'; +import * as updateNotifier from 'update-notifier'; import {init} from './init'; import {clean} from './clean'; diff --git a/src/util.ts b/src/util.ts index 6b21608a..ebe6d5fe 100644 --- a/src/util.ts +++ b/src/util.ts @@ -16,8 +16,8 @@ import * as fs from 'fs'; import * as path from 'path'; -import pify from 'pify'; -import rimraf from 'rimraf'; +import * as pify from 'pify'; +import * as rimraf from 'rimraf'; export const readFilep = pify(fs.readFile); export const rimrafp = pify(rimraf); diff --git a/test/fixtures.ts b/test/fixtures.ts index 7fa8902c..60a8b17d 100644 --- a/test/fixtures.ts +++ b/test/fixtures.ts @@ -16,9 +16,9 @@ import {test, Test} from 'ava'; import * as fs from 'fs'; -import makeDir from 'make-dir'; +import * as makeDir from 'make-dir'; import * as path from 'path'; -import pify from 'pify'; +import * as pify from 'pify'; import * as tmp from 'tmp'; const writeFilep = pify(fs.writeFile); diff --git a/test/test-format.ts b/test/test-format.ts index 852c997d..0237d414 100644 --- a/test/test-format.ts +++ b/test/test-format.ts @@ -15,7 +15,7 @@ */ import test from 'ava'; -import fs from 'fs'; +import * as fs from 'fs'; import * as path from 'path'; import {Options} from '../src/cli'; diff --git a/test/test-init.ts b/test/test-init.ts index 1aca0119..2a51a437 100644 --- a/test/test-init.ts +++ b/test/test-init.ts @@ -15,7 +15,7 @@ */ import test from 'ava'; -import path from 'path'; +import * as path from 'path'; import {Options} from '../src/cli'; import * as init from '../src/init'; diff --git a/test/test-kitchen.ts b/test/test-kitchen.ts index 1b0a378f..7fe074c2 100644 --- a/test/test-kitchen.ts +++ b/test/test-kitchen.ts @@ -4,8 +4,8 @@ import * as cp from 'child_process'; import * as fs from 'fs'; import * as ncp from 'ncp'; import * as path from 'path'; -import pify from 'pify'; -import rimraf from 'rimraf'; +import * as pify from 'pify'; +import * as rimraf from 'rimraf'; import * as tmp from 'tmp'; interface ExecResult { diff --git a/test/test-lint.ts b/test/test-lint.ts index 1bc0b391..a35b67c1 100644 --- a/test/test-lint.ts +++ b/test/test-lint.ts @@ -15,7 +15,7 @@ */ import test from 'ava'; -import fs from 'fs'; +import * as fs from 'fs'; import * as path from 'path'; import {Options} from '../src/cli'; diff --git a/tsconfig-google.json b/tsconfig-google.json index 8049da03..626eecae 100644 --- a/tsconfig-google.json +++ b/tsconfig-google.json @@ -4,7 +4,6 @@ "allowUnreachableCode": false, "allowUnusedLabels": false, "declaration": true, - "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "lib": ["es2016"], "module": "commonjs",