Skip to content

Commit

Permalink
fix(react-conformance): remove esModuleInterop so the package is comp…
Browse files Browse the repository at this point in the history
…liant with other packages
  • Loading branch information
Hotell committed Feb 25, 2021
1 parent 7eff35a commit 4b2e319
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-conformance/src/defaultErrorMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IsConformantOptions } from './types';
import { ComponentDoc } from 'react-docgen-typescript';

import chalk from 'chalk';
import os from 'os';
import * as os from 'os';
import parseDocblock from './utils/parseDocblock';

import * as _ from 'lodash';
Expand Down
2 changes: 1 addition & 1 deletion packages/react-conformance/src/isConformant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { IsConformantOptions } from './types';
import { defaultTests } from './defaultTests';
import { defaultErrorMessages } from './defaultErrorMessages';
import { merge } from './utils/merge';
import os from 'os';
import * as os from 'os';
import chalk from 'chalk';
import { getComponentDoc } from './utils/getComponentDoc';

Expand Down
1 change: 0 additions & 1 deletion packages/react-conformance/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"strict": true,
"moduleResolution": "node",
"preserveConstEnums": true,
"esModuleInterop": true,
"lib": ["es2017", "dom"],
"types": ["jest", "node"]
},
Expand Down

0 comments on commit 4b2e319

Please sign in to comment.