UNPKG

@surface/custom-element

Version:

Provides support of directives and data binding on custom elements.

6 lines (5 loc) 386 B
import type Expression from "../types/expression.js"; import type Factory from "../types/fatctory"; import type ObservablePath from "../types/observable-path"; import type Pattern from "../types/pattern.js"; export default function injectionFactory(key: Expression<string>, value: Pattern, observables: [key: ObservablePath[], value: ObservablePath[]], factory: Factory): Factory;