From e7039dd596faa10fc7da23d043eb8ab62a85fdaf Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Wed, 13 Dec 2017 14:19:36 -0600 Subject: [PATCH] disallow synthetic defaults to raise errors sooner --- test/setup/enzyme.ts | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/setup/enzyme.ts b/test/setup/enzyme.ts index 510077f33e..af57b8ae0f 100644 --- a/test/setup/enzyme.ts +++ b/test/setup/enzyme.ts @@ -1,4 +1,4 @@ import * as Enzyme from 'enzyme'; -import Adapter from 'enzyme-adapter-react-16'; +import * as Adapter from 'enzyme-adapter-react-16'; Enzyme.configure({ adapter: new Adapter() }); diff --git a/tsconfig.json b/tsconfig.json index 00cff44f78..c699058d14 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "declaration": true, "noImplicitAny": false, "outDir": "lib", - "allowSyntheticDefaultImports": true, + "allowSyntheticDefaultImports": false, "experimentalDecorators": true, "pretty": true, "removeComments": true,