UNPKG

chromiumly

Version:

A lightweight Typescript library that interacts with Gotenberg's different modules to convert a variety of document formats to PDF files.

7 lines (6 loc) 249 B
import { TemplateDataByType, TemplateType } from '../interfaces/templates.types'; type Validator<T> = (data: unknown) => data is T; export declare const templateValidators: { [T in TemplateType]?: Validator<TemplateDataByType[T]>; }; export {};