@appzung/react-native-code-push
Version:
React Native plugin for the CodePush service
19 lines (14 loc) • 468 B
text/typescript
import type { ApiSdkConfiguration } from './CodePushApiSdk.types';
export interface Configuration extends ApiSdkConfiguration {
releaseChannelPublicId: string;
packageHash?: string;
}
export interface LatestRollbackInfo {
time: number;
count: number;
packageHash: string;
}
type FunctionPropertyNames<T> = {
[K in keyof T]: T[K] extends Function ? K : never;
}[keyof T];
export type OmitFunctions<T extends object> = Omit<T, FunctionPropertyNames<T>>;