TS config tweaks

This commit is contained in:
Sindre Sorhus 2018-05-19 15:42:12 +07:00
parent 37f6cc3fe3
commit db25d554dc
3 changed files with 19 additions and 14 deletions

View file

@ -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;

View file

@ -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';

View file

@ -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",