Skip to content

Commit

Permalink
disallow synthetic defaults to raise errors sooner
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskevin committed Dec 13, 2017
1 parent 24c37ab commit e7039dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/setup/enzyme.ts
Original file line number Diff line number Diff line change
@@ -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() });
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"declaration": true,
"noImplicitAny": false,
"outDir": "lib",
"allowSyntheticDefaultImports": true,
"allowSyntheticDefaultImports": false,
"experimentalDecorators": true,
"pretty": true,
"removeComments": true,
Expand Down

0 comments on commit e7039dd

Please sign in to comment.