Type Alias DocumentTranslatorInterface<T>

DocumentTranslatorInterface: {
    translate(
        data: T,
        documentDefinitionsOptions: DocumentOptions,
        catalogs: CatalogsData,
        primaryColor: string,
        bgGrayColor: string,
    ): TDocumentDefinitions;
}

Type Parameters

Type declaration

  • translate:function
    • Parameters

      Returns TDocumentDefinitions