UNPKG

be-enhanced

Version:

be-enhanced provides a base class that enables casting spells, or enhancing server-rendered DOM elements based on cross-cutting custom attributes

33 lines (21 loc) 593 B
import {IEnhancement, BEAllProps} from '../trans-render/be/types'; export interface EndUserProps extends IEnhancement{ forAll?: Array<string>, base?: string, fileName?: string puntOn?: Array<string>, } export interface AllProps extends EndUserProps{ forAll: Array<string>, } export interface PuntEvent{ count: number, instance: Element, } export type AP = AllProps; export type PAP = Partial<AP>; export type ProPAP = Promise<PAP> export interface Actions{ hydrate(self: AP & BEAllProps): PAP; //finale(): void; }