From 74248d4ed72ca38bf5f8c1205002ab3bb1653486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justinas=20Kavoli=C5=ABnas?= Date: Mon, 27 Jan 2025 17:41:59 +0200 Subject: [PATCH] Fix type augmentation (#197) As described in https://vuejs.org/guide/typescript/options-api.html#augmenting-global-properties --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index a3ed7d1..f2d1b36 100644 --- a/src/index.ts +++ b/src/index.ts @@ -101,7 +101,7 @@ export const trans_choice = transChoice /** * Type declarations for `$t` and `$tChoice` mixins. */ -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentCustomProperties { $t: typeof trans $tChoice: typeof transChoice