mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-21 13:13:58 +08:00
checkUpdate now returns info
This commit is contained in:
@@ -20,7 +20,7 @@ export const defaultContext = {
|
||||
};
|
||||
|
||||
export const UpdateContext = createContext<{
|
||||
checkUpdate: () => Promise<void>;
|
||||
checkUpdate: () => Promise<void | CheckResult>;
|
||||
switchVersion: () => Promise<void>;
|
||||
switchVersionLater: () => Promise<void>;
|
||||
markSuccess: () => void;
|
||||
|
||||
Reference in New Issue
Block a user