@intlify/vue-router-composable
Advanced tools
Comparing version 0.0.0-4d9b3bb to 0.0.0-9551f85
@@ -1,3 +0,6 @@ | ||
import { useRouter, useRoute } from 'vue-router' | ||
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router' | ||
declare function useRouter<T = Router>(): T | ||
declare function useRoute<T = RouteLocationNormalizedLoaded>(): T | ||
declare const isVueRouter3: boolean | ||
@@ -4,0 +7,0 @@ declare const isVueRouter4: boolean |
@@ -6,4 +6,4 @@ import VueRouter from 'vue-router' | ||
declare const useRouter: () => VueRouter | ||
declare const useRoute: () => ComputedRef<Route> | ||
declare function useRouter<T = VueRouter>(): T | ||
declare function useRoute<T = ComputedRef<Route>>(): T | ||
@@ -10,0 +10,0 @@ declare const isVueRouter3: boolean |
@@ -1,3 +0,6 @@ | ||
import { useRouter, useRoute } from 'vue-router' | ||
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router' | ||
declare function useRouter<T = Router>(): T | ||
declare function useRoute<T = RouteLocationNormalizedLoaded>(): T | ||
declare const isVueRouter3: boolean | ||
@@ -4,0 +7,0 @@ declare const isVueRouter4: boolean |
{ | ||
"name": "@intlify/vue-router-composable", | ||
"version": "0.0.0-4d9b3bb", | ||
"version": "0.0.0-9551f85", | ||
"description": "The universal composable for Vue Router", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8437
154