Skip to content

Commit 5b43aeb

Browse files
committed
fix(composables): use string as injection key
Because reasons
1 parent ee182d5 commit 5b43aeb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/consts.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
import type { InjectionKey } from 'vue'
2-
import type { IntlController } from './controller.js'
3-
4-
export const controllerKey = Symbol('vueIntlController') as InjectionKey<
5-
IntlController<any>
6-
>
1+
export const controllerKey = '__vintl_controller'

0 commit comments

Comments
 (0)