@expo/xdl
Version:
The Expo Development Library
13 lines (12 loc) • 590 B
TypeScript
import { ExpoConfig } from '@expo/config';
export declare function home(): string;
export declare function isDebug(): boolean;
export declare function isStaging(): boolean;
export declare function isLocal(): boolean;
export declare function maySkipManifestValidation(): boolean;
/**
* Returns true if we should use Metro using its JS APIs via @expo/dev-server (the modern and fast
* way), false if we should fall back to spawning it as a subprocess (supported for backwards
* compatibility with SDK39 and older).
*/
export declare function shouldUseDevServer(exp: ExpoConfig): boolean;