UNPKG

607 BTypeScriptView Raw
1import Taro from '@tarojs/taro';
2export declare function navigateTo(option: Taro.navigateTo.Option): ReturnType<typeof Taro.navigateTo>;
3export declare function redirectTo(option: Taro.redirectTo.Option): ReturnType<typeof Taro.redirectTo>;
4export declare function navigateBack(option?: Taro.navigateBack.Option): ReturnType<typeof Taro.navigateBack>;
5export declare function switchTab(option: Taro.switchTab.Option): ReturnType<typeof Taro.switchTab>;
6export declare function reLaunch(option: Taro.reLaunch.Option): ReturnType<typeof Taro.reLaunch>;
7export declare function getCurrentPages(): Taro.Page[];