UNPKG

@surface/custom-element

Version:

Provides support of directives and data binding on custom elements.

4 lines (3 loc) 264 B
import type { Delegate, Subscription } from "@surface/core"; import type ObservablePath from "./types/observable-path"; export default function observe(target: object, observables: ObservablePath[], listener: Delegate<[unknown]>, lazy?: boolean): Subscription;