@intlify/vue-router-bridge
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -92,3 +92,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
} | ||
declare type RoutePropsFunction = (route: Route) => Record<string, anu> | ||
declare type RoutePropsFunction = (route: Route) => Record<string, any> | ||
declare interface _RouteConfigBase { | ||
@@ -107,3 +107,3 @@ path: string | ||
component?: Component | ||
props?: boolean | Rect | RoutePropsFunction | ||
props?: boolean | Record<string, any> | RoutePropsFunction | ||
} | ||
@@ -148,2 +148,9 @@ declare interface RouteConfigMultipleViews extends _RouteConfigBase { | ||
/** | ||
* Define dummy vue-router 3 class | ||
*/ | ||
declare class VueRouter3 { | ||
constructor(options?: RouterOptions) | ||
} | ||
// export vue-router@4 typings | ||
@@ -167,5 +174,5 @@ export * from 'vue-router' | ||
// export dummy VueRouter class | ||
export default VueRouter | ||
// Export dummy VueRouter class | ||
export default VueRouter3 | ||
/* eslint-enable @typescript-eslint/no-explicit-any */ |
@@ -92,3 +92,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
} | ||
declare type RoutePropsFunction = (route: Route) => Record<string, anu> | ||
declare type RoutePropsFunction = (route: Route) => Record<string, any> | ||
declare interface _RouteConfigBase { | ||
@@ -107,3 +107,3 @@ path: string | ||
component?: Component | ||
props?: boolean | Rect | RoutePropsFunction | ||
props?: boolean | Record<string, any> | RoutePropsFunction | ||
} | ||
@@ -148,2 +148,9 @@ declare interface RouteConfigMultipleViews extends _RouteConfigBase { | ||
/** | ||
* Define dummy vue-router 3 class | ||
*/ | ||
declare class VueRouter3 { | ||
constructor(options?: RouterOptions) | ||
} | ||
// export vue-router@4 typings | ||
@@ -167,5 +174,5 @@ export * from 'vue-router' | ||
// export dummy VueRouter class | ||
export default VueRouter | ||
// Export dummy VueRouter class | ||
export default VueRouter3 | ||
/* eslint-enable @typescript-eslint/no-explicit-any */ |
{ | ||
"name": "@intlify/vue-router-bridge", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Vue Router bridging for Vue 2 & Vue 3", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
25844
616