Closed hallsbyra closed 5 years ago
Upgraded from 0.14.3 to 0.14.4. All else remains the same. Now I get a bunch of typescript errors:
node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/DateInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/DatesRangeInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/DateTimeInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/MonthInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/MonthRangeInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/TimeInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/inputs/YearInput.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/prop-types/index"' has no default export. 2 import PropTypes from 'prop-types'; ~~~~~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/pickers/BasePicker.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/react/index"' has no default export. 2 import React from 'react'; ~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/pickers/monthPicker/MonthRangePicker.d.ts:2:8 - error TS1192: Module '"./node_modules/@types/react/index"' has no default export. 2 import React from 'react'; ~~~~~ node_modules/semantic-ui-calendar-react/dist/commonjs/views/BaseCalendarView.d.ts:1:8 - error TS1192: Module '"./node_modules/@types/react/index"' has no default export. 1 import React from 'react'; ~~~~~```
Have you tried to set --esModuleInterop typescript compiler option to true?
--esModuleInterop
true
Upgraded from 0.14.3 to 0.14.4. All else remains the same. Now I get a bunch of typescript errors: