Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors in TypeScript definitions #1648

Closed
wants to merge 1 commit into from
Closed

Fix errors in TypeScript definitions #1648

wants to merge 1 commit into from

Conversation

danrashid
Copy link

Fixes the following errors with TypeScript 2.3.2:

Failed to compile.

Error in [...]\node_modules\semantic-ui-react\dist\commonjs\views\Statistic\StatisticGroup.d.ts
(4,35): error TS2307: Cannot find module './Statictic'.

Error in [...]\node_modules\semantic-ui-react\dist\commonjs\collections\Form\FormCheckbox.d.ts
(6,18): error TS2320: Interface 'FormCheckboxProps' cannot simultaneously extend types 'FormFieldProps' and 'CheckboxProps'.
  Named property 'type' of types 'FormFieldProps' and 'CheckboxProps' are not identical.

Error in [...]\node_modules\semantic-ui-react\dist\commonjs\collections\Form\FormRadio.d.ts
(6,18): error TS2320: Interface 'FormRadioProps' cannot simultaneously extend types 'FormFieldProps' and 'RadioProps'.
  Named property 'type' of types 'FormFieldProps' and 'RadioProps' are not identical.

@layershifter
Copy link
Member

Dupe, #1624 and #1625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants