UNPKG

@github/template-parts

Version:

An implementation of the TemplateInstance proposal (https://github.com/w3c/webcomponents/blob/159b1600bab02fe9cd794825440a98537d53b389/proposals/Template-Instantiation.md)

9 lines 604 B
import type { TemplatePart, TemplateTypeInit } from './types.js'; type PartProcessor = (part: TemplatePart, value: unknown, state: unknown) => void; export declare function createProcessor(processPart: PartProcessor): TemplateTypeInit; export declare function processPropertyIdentity(part: TemplatePart, value: unknown): void; export declare function processBooleanAttribute(part: TemplatePart, value: unknown): boolean; export declare const propertyIdentity: TemplateTypeInit; export declare const propertyIdentityOrBooleanAttribute: TemplateTypeInit; export {}; //# sourceMappingURL=processors.d.ts.map