Installation
npm install --save @types/jsreport-html-to-xlsx
Summary
This package contains type definitions for jsreport-html-to-xlsx (https://github.com/jsreport/jsreport-html-to-xlsx).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-html-to-xlsx.
index.d.ts
import { ExtensionDefinition, Template } from "jsreport-core";
import { Options as BaseOptions } from "jsreport-xlsx";
declare namespace JsReportHtml2Xlsx {
type htmlEngine = "phantom" | "chrome";
interface Html2XlsxTemplate extends Template {
htmlToXlsx: { htmlEngine: htmlEngine };
recipe: "html-to-xlsx" | string;
}
interface Options extends BaseOptions {
strategy: string;
}
}
declare module "jsreport-core" {
interface TemplateRegistry {
Html2XlsxTemplate: JsReportHtml2Xlsx.Html2XlsxTemplate;
}
}
declare function JsReportHtml2Xlsx(options?: Partial<JsReportHtml2Xlsx.Options>): ExtensionDefinition;
export = JsReportHtml2Xlsx;
Additional Details
- Last updated: Tue, 07 Nov 2023 20:08:00 GMT
- Dependencies: @types/jsreport-core, @types/jsreport-xlsx
Credits
These definitions were written by Tao Quifeng.