mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
fix(vue): canGoBack param should be optional
This commit is contained in:
@ -4,7 +4,7 @@ import { inject } from 'vue';
|
||||
type Handler = (processNextHandler: () => void) => Promise<any> | void | null;
|
||||
|
||||
export interface IonRouter {
|
||||
canGoBack: (deep: number) => boolean;
|
||||
canGoBack: (deep?: number) => boolean;
|
||||
}
|
||||
|
||||
export const useHardwareBackButton = (priority: number, handler: Handler) => {
|
||||
|
Reference in New Issue
Block a user