UNPKG

606 BTypeScriptView Raw
1declare const router: {
2 addRouteBuilder: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
3 getRouteContext: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
4 removeRouteBuilder: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
5};
6export { navigateBack, navigateTo, redirectTo, reLaunch, switchTab } from '@tarojs/router';
7export { router };