1
0

Merge tag '2024.11.0' into feature/2024.10

This commit is contained in:
dakkar
2024-11-22 12:29:04 +00:00
234 changed files with 6612 additions and 4634 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
*/
import { EventEmitter } from 'eventemitter3';
import { IRouter, Resolved, RouteDef, RouterEvent } from '@/nirax.js';
import { IRouter, Resolved, RouteDef, RouterEvent, RouterFlag } from '@/nirax.js';
import type { App, ShallowRef } from 'vue';
@@ -83,7 +83,7 @@ class MainRouterProxy implements IRouter {
return this.supplier().currentRoute;
}
get navHook(): ((path: string, flag?: any) => boolean) | null {
get navHook(): ((path: string, flag?: RouterFlag) => boolean) | null {
return this.supplier().navHook;
}
@@ -95,11 +95,11 @@ class MainRouterProxy implements IRouter {
return this.supplier().getCurrentKey();
}
getCurrentPath(): any {
getCurrentPath(): string {
return this.supplier().getCurrentPath();
}
push(path: string, flag?: any): void {
push(path: string, flag?: RouterFlag): void {
this.supplier().push(path, flag);
}