diff --git a/source/index.ts b/source/index.ts index ddb4c6f..ba5c0f7 100644 --- a/source/index.ts +++ b/source/index.ts @@ -1,4 +1,4 @@ -import * as util from 'util'; +import util from 'util'; import symbolObservable from 'symbol-observable'; type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array; diff --git a/source/tests/test.ts b/source/tests/test.ts index c86ed75..ae99c2c 100644 --- a/source/tests/test.ts +++ b/source/tests/test.ts @@ -1,8 +1,8 @@ -import * as fs from 'fs'; -import * as net from 'net'; -import * as Stream from 'stream'; -import * as util from 'util'; -import * as tempy from 'tempy'; +import fs from 'fs'; +import net from 'net'; +import Stream from 'stream'; +import util from 'util'; +import tempy from 'tempy'; import test, {TestContext, Context} from 'ava'; import {JSDOM} from 'jsdom'; import {Subject, Observable} from 'rxjs'; diff --git a/tsconfig.json b/tsconfig.json index fe251cc..2a1baca 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,30 @@ { "compilerOptions": { "outDir": "dist", - "target": "es2015", - "module": "commonjs", - "moduleResolution": "node", - "declaration": true, - "skipLibCheck": true, - "pretty": true, - "newLine": "lf", + "target": "es2016", "lib": [ "dom", "es2015", + "es2016", "es2017.sharedmemory" ], + "module": "commonjs", + "moduleResolution": "node", + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "sourceMap": true, + "declaration": true, + "pretty": true, + "newLine": "lf", "stripInternal": true, "strict": true, "noImplicitReturns": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, - "esModuleInterop": true + "noEmitOnError": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true }, "exclude": [ "node_modules",