@capacitor/core
Version:
Capacitor: Cross-platform apps with JavaScript and the web
38 lines (37 loc) • 702 B
TypeScript
/**
* @deprecated
*/
export interface PluginRegistry {
[pluginName: string]: {
[prop: string]: any;
};
}
/**
* @deprecated
*/
export interface PluginConfig {
id: string;
name: string;
}
/**
* @deprecated
*/
export type ISODateString = string;
/**
* @deprecated
*/
export type CallbackID = string;
/**
* CancellableCallback is a simple wrapper that a method will
* return to make it easy to cancel any repeated callback the method
* might have set up. For example: a geolocation watch.
* @deprecated
*/
export interface CancellableCallback {
/**
* The cancel function for this method
*
* @deprecated
*/
cancel: (...args: any[]) => any;
}