Code: Select all
ERROR in node_modules/@fullcalendar/daygrid/main.d.ts:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: SimpleDayGrid, DayGridSlicer, DayGrid, DayGridSeg, AbstractDayGridView, DayGridView, buildBasicDayTable, DayBgRow, _default, default, Popover, DayGridEventRenderer, DayTile, DayTileEventRenderer, SimpleDayGridEventRenderer
1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
~~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:5:1
5 declare module '@fullcalendar/daygrid' {
~~~~~~~
Conflicts are in this file.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:5:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: SimpleDayGrid, DayGridSlicer, DayGrid, DayGridSeg, AbstractDayGridView, DayGridView, buildBasicDayTable, DayBgRow, _default, default, Popover, DayGridEventRenderer, DayTile, DayTileEventRenderer, SimpleDayGridEventRenderer
5 declare module '@fullcalendar/daygrid' {
~~~~~~~
node_modules/@fullcalendar/daygrid/main.d.ts:1:1
1 declare module "@fullcalendar/daygrid/DayGridDateProfileGenerator" {
~~~~~~~
Conflicts are in this file.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:37:9 - error TS2416: Property 'render' in type 'SimpleDayGrid' is not assignable to the same property in base type 'DateComponent<SimpleDayGridProps>'.
Type '(props: SimpleDayGridProps, context: ComponentContext) => void' is not assignable to type '(props: SimpleDayGridProps) => void'.
37 render(props: SimpleDayGridProps, context: ComponentContext): void;
~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:52:9 - error TS2717: Subsequent property declarations must have the same type. Property 'renderNumberIntroHtml' must be of type '(row: number, dayGrid: DayGrid) => string', but here has type '(row: number, dayGrid: DayGrid) => string'.
52 renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
~~~~~~~~~~~~~~~~~~~~~
node_modules/@fullcalendar/daygrid/main.d.ts:158:9
158 renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
~~~~~~~~~~~~~~~~~~~~~
'renderNumberIntroHtml' was also declared here.
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:94:9 - error TS2416: Property 'render' in type 'DayGrid' is not assignable to the same property in base type 'DateComponent<DayGridProps>'.
Type '(props: DayGridProps, context: ComponentContext) => void' is not assignable to type '(props: DayGridProps) => void'.
94 render(props: DayGridProps, context: ComponentContext): void;
~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:160:9 - error TS2416: Property 'render' in type 'AbstractDayGridView' is not assignable to the same property in base type 'View'.
Type '(props: ViewProps, context: ComponentContext) => void' is not assignable to type '(props: ViewProps) => void'.
160 render(props: ViewProps, context: ComponentContext): void;
~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:194:9 - 1merror TS2416: Property 'render' in type 'DayGridView' is not assignable to the same property in base type 'DayGridView'.
Type '(props: ViewProps, context: ComponentContext) => void' is not assignable to type '(props: ViewProps) => void'.
194 render(props: ViewProps, context: ComponentContext): void;
~~~~~~
node_modules/@fullcalendar/timegrid/node_modules/@fullcalendar/daygrid/main.d.ts:289:9 - error TS2416: Property 'render' in type 'DayTile' is not assignable to the same property in base type 'DateComponent<DayTileProps>'.
Type '(props: DayTileProps, context: ComponentContext) => void' is not assignable to type '(props: DayTileProps) => void'.
289 render(props: DayTileProps, context: ComponentContext): void;
~~~~~~
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I have made no changes to the package.json
Versions:
node - 12.18.1
yarn - 1.22.5