knip
Version:
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
23 lines (22 loc) • 614 B
TypeScript
type AppConfig = {
platforms?: ('ios' | 'android' | 'web')[];
notification?: Record<string, unknown>;
updates?: {
enabled?: boolean;
};
backgroundColor?: string;
userInterfaceStyle?: 'automatic' | 'light' | 'dark';
ios?: {
backgroundColor?: string;
};
android?: {
userInterfaceStyle?: 'automatic' | 'light' | 'dark';
};
androidNavigationBar?: Record<string, unknown>;
plugins?: (string | [string, Record<string, unknown>])[];
};
type Config = AppConfig | {
expo: AppConfig;
};
export type ExpoConfig = Config | (() => Config);
export {};