Skip to content

Commit

Permalink
馃攢 Merge pull request #1457 from jovotech/v4/fix/vue3-types
Browse files Browse the repository at this point in the history
馃悰 Fix type after vue3 update
  • Loading branch information
jankoenig committed Nov 9, 2022
2 parents 37f710f + 6477d8d commit 58372f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/client-web-vue3/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Client, InitConfig } from '@jovotech/client-web';
import { Plugin, reactive } from 'vue';
import { Plugin, reactive, UnwrapNestedRefs } from 'vue';

declare global {
interface Window {
Expand All @@ -9,7 +9,7 @@ declare global {

declare module '@vue/runtime-core' {
export interface ComponentCustomProperties {
$client: Client;
$client: UnwrapNestedRefs<Client>;
}
}

Expand Down

0 comments on commit 58372f2

Please sign in to comment.