dynamic-content-html
Version:
A dynamic content html processing library for template interpolation with rich content support
21 lines • 587 B
TypeScript
export interface DynamicTextConfig {
variableFormat?: {
start: string;
end: string;
};
}
export interface DynamicTextOptions {
[key: string]: any;
}
export type RichContentFunction = (chunks: string) => string;
export interface RichTextOptions extends DynamicTextOptions {
[key: string]: RichContentFunction | any;
}
export interface MJMLOptions extends DynamicTextOptions {
[key: string]: any;
}
export interface MJMLConfig extends DynamicTextConfig {
mjmlAttributes?: boolean;
mjmlTextContent?: boolean;
}
//# sourceMappingURL=types.d.ts.map