@surface/custom-element
Version:
Provides support of directives and data binding on custom elements.
13 lines (11 loc) • 435 B
TypeScript
import type { IExpression } from "@surface/expression";
import type IObservable from "../interfaces/observable";
import type ITraceable from "../interfaces/traceable";
type AttributeDirectiveDescriptor =
{
expression: IExpression,
key: string,
name: string,
type: "oneway" | "twoway" | "interpolation",
} & IObservable & ITraceable;
export default AttributeDirectiveDescriptor;