This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

12 lines
469 B
TypeScript
Raw Permalink Normal View History

2021-04-02 02:24:13 +03:00
import { ExpoConfig } from '@expo/config-types';
import { ModPlatform } from '../Plugin.types';
export declare type PluginHistoryItem = {
name: string;
version: string;
platform?: ModPlatform;
};
export declare function getHistoryItem(config: Pick<ExpoConfig, '_internal'>, name: string): PluginHistoryItem | null;
export declare function addHistoryItem(config: ExpoConfig, item: Omit<PluginHistoryItem, 'version'> & {
version?: string;
}): ExpoConfig;