element-vir
Version:
Heroic. Reactive. Declarative. Type safe. Web components without compromise.
16 lines (15 loc) • 475 B
TypeScript
/**
* Which of an element's two property maps a value is being written to.
*
* @category Internal
*/
export declare enum ElementPropertyType {
Input = "input",
State = "state"
}
export declare function createPropertyCollisionError({ propertyKey, propertyType, tagName, }: Readonly<{
propertyKey: PropertyKey;
propertyType: ElementPropertyType;
tagName: string;
}>): Error;
export declare function assignInputs(element: Element, inputs: object): void;