SudoSOS Back-end API / internal/pdf / HtmlGenerator
Type Alias: HtmlGenerator()<P> ​
ts
type HtmlGenerator<P> = (options) => string;Type alias for a function that generates HTML from a data object.
Type Parameters ​
| Type Parameter |
|---|
P |
Parameters ​
| Parameter | Type | Description |
|---|---|---|
options | P | The data to be used in the HTML template. |
Returns ​
string
The generated HTML as a string.