build(ci): fix pnpm lock file
[e-mobility-charging-stations-simulator.git] / ui / web / src / shims-vue.d.ts
index c9d5581c0257bb7069ffe47954c9a36a384fb512..6f0d76e38bac14a980a967753b9db65609cc0a46 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<{}, {}, unknown>
-  export default component
+export {}
+
+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
+  }
 }