UNPKG

1.23 kBTypeScriptView Raw
1import Taro from '@tarojs/api';
2export declare const onUnhandledRejection: () => Promise<{
3 errMsg: string;
4}>;
5export declare const onThemeChange: () => Promise<{
6 errMsg: string;
7}>;
8export declare const onPageNotFound: () => Promise<{
9 errMsg: string;
10}>;
11export declare const onError: () => Promise<{
12 errMsg: string;
13}>;
14export declare const onAudioInterruptionEnd: () => Promise<{
15 errMsg: string;
16}>;
17export declare const onAudioInterruptionBegin: () => Promise<{
18 errMsg: string;
19}>;
20export declare const onAppShow: typeof Taro.onAppShow;
21export declare const onAppHide: typeof Taro.onAppHide;
22export declare const offUnhandledRejection: () => Promise<{
23 errMsg: string;
24}>;
25export declare const offThemeChange: () => Promise<{
26 errMsg: string;
27}>;
28export declare const offPageNotFound: () => Promise<{
29 errMsg: string;
30}>;
31export declare const offError: () => Promise<{
32 errMsg: string;
33}>;
34export declare const offAudioInterruptionEnd: () => Promise<{
35 errMsg: string;
36}>;
37export declare const offAudioInterruptionBegin: () => Promise<{
38 errMsg: string;
39}>;
40export declare const offAppShow: typeof Taro.offWindowResize;
41export declare const offAppHide: typeof Taro.offWindowResize;