react-native-widget-center/index.d.ts
Nicolas Dommanget-Muller 774f11f1c6 Create index.d.ts
Create simple types.
2021-01-08 09:54:24 -08:00

16 lines
373 B
TypeScript

declare module "react-native-widget-center" {
export static const widgetCenterSupported: boolean;
interface Configuration {
kind: string;
family: string;
}
export static function reloadTimelines(kind: string): void;
export static function reloadAllTimelines(): void;
export static function getCurrentConfigurations(): Promise<Configuration>;
}