diff --git a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue index 01a5052ea..7bdfea233 100644 --- a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue +++ b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue @@ -55,9 +55,6 @@ const store = useStore(key); const showWeekends = ref(true); const slotDuration = ref('00:15:00'); -// will work as long as calendar-vue is not changed -const calendarRef = ref<{renderId: number}|null>(null); - const baseOptions = ref({ locale: frLocale, plugins: [interactionPlugin, timeGridPlugin], diff --git a/src/shims-vue.d.ts b/src/shims-vue.d.ts new file mode 100644 index 000000000..11cc979b7 --- /dev/null +++ b/src/shims-vue.d.ts @@ -0,0 +1,7 @@ +declare module "*.vue" { + import { defineComponent } from 'vue' + + const Component: ReturnType + + export default Component +}