diff --git a/lib/vue.ts b/lib/vue.ts index 6ec2c6c..1e8f1b8 100644 --- a/lib/vue.ts +++ b/lib/vue.ts @@ -20,7 +20,7 @@ export const diocPlugin: Plugin = { * * @param service The class reference of the service to bind */ -export function useService>(service: T): InstanceType { +export function useService>(service: T): InstanceType { const container = inject(VUE_CONTAINER_KEY) as Container | undefined | null if (!container) {