You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line 56 of file Calendar.d.ts is defined as showWeek: PropTypes.bool
But we don't understand why this boolean property is differently defined as the others and we think that is an error. We suggest to replace by showWeek?: boolean
The text was updated successfully, but these errors were encountered:
emiravete
added a commit
to emiravete/primereact
that referenced
this issue
Jun 19, 2019
mertsincan
changed the title
Release 3.1.4 compilation issue in TypedScript
the 'showWeek' prop throws an error with TypedScript on Calendar
Jun 19, 2019
mertsincan
changed the title
the 'showWeek' prop throws an error with TypedScript on Calendar
The 'showWeek' prop throws an error with TypedScript on Calendar
Jun 19, 2019
After installing the release 3.1.4 a compilation issue occurs when we try to build our application
modules/primereact/components/calendar/Calendar.d.ts(56,15):
TS2503: Cannot find namespace 'PropTypes'.
The line 56 of file Calendar.d.ts is defined as showWeek: PropTypes.bool
But we don't understand why this boolean property is differently defined as the others and we think that is an error. We suggest to replace by showWeek?: boolean
The text was updated successfully, but these errors were encountered: