UNPKG

702 BTypeScriptView Raw
1/**
2 * @deprecated
3 */
4export interface PluginRegistry {
5 [pluginName: string]: {
6 [prop: string]: any;
7 };
8}
9/**
10 * @deprecated
11 */
12export interface PluginConfig {
13 id: string;
14 name: string;
15}
16/**
17 * @deprecated
18 */
19export type ISODateString = string;
20/**
21 * @deprecated
22 */
23export type CallbackID = string;
24/**
25 * CancellableCallback is a simple wrapper that a method will
26 * return to make it easy to cancel any repeated callback the method
27 * might have set up. For example: a geolocation watch.
28 * @deprecated
29 */
30export interface CancellableCallback {
31 /**
32 * The cancel function for this method
33 *
34 * @deprecated
35 */
36 cancel: (...args: any[]) => any;
37}