Make some imports type-only
This commit is contained in:
parent
ef009b2d0e
commit
cb873a1eed
@ -1,4 +1,4 @@
|
|||||||
import { Calendar, CalendarOptions } from '@fullcalendar/core';
|
import { Calendar, type CalendarOptions } from '@fullcalendar/core';
|
||||||
import iCalendarPlugin from '@fullcalendar/icalendar';
|
import iCalendarPlugin from '@fullcalendar/icalendar';
|
||||||
import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid';
|
import resourceTimeGridPlugin from '@fullcalendar/resource-timegrid';
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import '@fullcalendar/core';
|
import '@fullcalendar/core';
|
||||||
import { CalendarOptions, EventContentArg } from '@fullcalendar/core';
|
import type { CalendarOptions, EventContentArg } from '@fullcalendar/core';
|
||||||
import { ResourceLabelContentArg } from '@fullcalendar/resource-common';
|
import type { ResourceLabelContentArg } from '@fullcalendar/resource-common';
|
||||||
import timeGridPlugin from '@fullcalendar/timegrid';
|
import timeGridPlugin from '@fullcalendar/timegrid';
|
||||||
import resourceTimelinePlugin from '@fullcalendar/resource-timeline';
|
import resourceTimelinePlugin from '@fullcalendar/resource-timeline';
|
||||||
import { createElement } from 'preact';
|
import type { createElement } from 'preact';
|
||||||
|
|
||||||
import { common_calendarOptions, main } from './common';
|
import { common_calendarOptions, main } from './common';
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import Intl from 'intl';
|
|||||||
import 'intl/locale-data/jsonp/en.js';
|
import 'intl/locale-data/jsonp/en.js';
|
||||||
window.Intl = Intl;
|
window.Intl = Intl;
|
||||||
|
|
||||||
import { CalendarOptions } from '@fullcalendar/core';
|
import type { CalendarOptions } from '@fullcalendar/core';
|
||||||
|
|
||||||
import { common_calendarOptions, main } from './common';
|
import { common_calendarOptions, main } from './common';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user