UNPKG

@twobirds/microcomponents

Version:

Micro Components Organization Class

11 lines 421 B
import { LooseObject } from './helpers.js'; type Callback = (value: any) => void; export type Observable = { observe: (cb: Callback) => void; notify: () => void; bind: (target: HTMLElement | DocumentFragment | ShadowRoot) => void; callbacks: Array<Function>; }; export declare const observe: (target: LooseObject, propertyName?: string) => LooseObject; export {}; //# sourceMappingURL=observables.d.ts.map