UNPKG

2.04 kBTypeScriptView Raw
1import Taro from '@tarojs/api';
2declare const onUnhandledRejection: typeof Taro.onUnhandledRejection;
3declare const onThemeChange: typeof Taro.onThemeChange;
4declare const onPageNotFound: typeof Taro.onPageNotFound;
5declare const onLazyLoadError: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
6declare const onError: typeof Taro.onError;
7declare const onAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
8declare const onAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
9declare const onAppShow: typeof Taro.onAppShow;
10declare const onAppHide: typeof Taro.onAppHide;
11declare const offUnhandledRejection: typeof Taro.offUnhandledRejection;
12declare const offThemeChange: typeof Taro.offThemeChange;
13declare const offPageNotFound: typeof Taro.offPageNotFound;
14declare const offLazyLoadError: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
15declare const offError: typeof Taro.offError;
16declare const offAudioInterruptionEnd: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
17declare const offAudioInterruptionBegin: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
18declare const offAppShow: typeof Taro.offAppShow;
19declare const offAppHide: typeof Taro.offAppHide;
20export { onUnhandledRejection, onThemeChange, onPageNotFound, onLazyLoadError, onError, onAudioInterruptionEnd, onAudioInterruptionBegin, onAppShow, onAppHide, offUnhandledRejection, offThemeChange, offPageNotFound, offLazyLoadError, offError, offAudioInterruptionEnd, offAudioInterruptionBegin, offAppShow, offAppHide };