build(deps): apply updates
[e-mobility-charging-stations-simulator.git] / ui / web / src / shims-vue.d.ts
index 3b0c636bdce9b446b2fc7b1c20709445036037d7..48265c5acbcd3d56459240ccbfe0ebe4ee2bd2ee 100644 (file)
@@ -1,6 +1,14 @@
-declare module '*.vue' {
-  import type { DefineComponent } from 'vue';
-  // eslint-disable-next-line @typescript-eslint/ban-types
-  const component: DefineComponent<{}, {}, any>;
-  export default component;
+export type {}
+
+declare module 'vue' {
+  export interface GlobalComponents {
+    RouterLink: (typeof import('vue-router'))['RouterLink']
+    RouterView: (typeof import('vue-router'))['RouterView']
+  }
+  interface ComponentCustomProperties {
+    $configuration: import('vue').Ref<import('@/types').ConfigurationData>
+    $templates: import('vue').Ref<string[]>
+    $chargingStations: import('vue').Ref<import('@/types').ChargingStationData[]>
+    $uiClient: import('@/composables').UIClient
+  }
 }