@v4fire/client
Version:
V4Fire client core library
18 lines (15 loc) • 335 B
text/typescript
/*!
* V4Fire Client Core
* https://github.com/V4Fire/Client
*
* Released under the MIT license
* https://github.com/V4Fire/Client/blob/master/LICENSE
*/
export interface SyncLink<T = unknown> {
path: string;
sync(value?: T): void;
}
export type SyncLinkCache<T = unknown> = Map<
string | object,
Dictionary<SyncLink<T>>
>;