@pachun/simple-expo-update
Version:
Simpler expo-updates
7 lines (6 loc) • 336 B
TypeScript
type SimpleExpoUpdate = ({ whenPresent, }: {
whenPresent: WhenPresent;
}) => Promise<void>;
type WhenPresent = "applyUpdate" | ((applyUpdateAndRestart: () => Promise<void>) => Promise<void>) | ((applyUpdateAndRestart: () => Promise<void>) => void);
declare const simpleExpoUpdate: SimpleExpoUpdate;
export default simpleExpoUpdate;