// from https://stackoverflow.com/questions/64213461/vuejs-typescript-cannot-find-module-components-navigation-or-its-correspon
// declare module "*.vue" {
//   import Vue from 'vue';
//   export default Vue;
// }

// for Vue 3 compat
declare module 'vue' {
  import { CompatVue } from '@vue/runtime-dom';
  const Vue: CompatVue;
  export default Vue;
  export * from '@vue/runtime-dom';
  const { configureCompat } = Vue;
  export { configureCompat };
}

// for Vue 3
// declare module '*.vue' {
//   import type { DefineComponent } from 'vue';
//   const component: DefineComponent<{}, {}, any>;
//   export default component;
// }

// ugly hack to make types for those two packages
declare module 'vue-vimeo-player' {
  const plugin: any;
  export default plugin;
}
declare module 'vue-matomo' {
  const plugin: any;
  export default plugin;
}
