Relative Content

Tag Archive for typescriptdesign-patterns

Type-safe template generator design

I am working on a stateless document generator service where multiple templates (such as invoices, reports, etc.) can generate documents in the same format (e.g., a Buffer). Each template has different layout and content requirements, thus needing a different set of parameters.

Type-safe template generator design

I am working on a stateless document generator service where multiple templates (such as invoices, reports, etc.) can generate documents in the same format (e.g., a Buffer). Each template has different layout and content requirements, thus needing a different set of parameters.