@types/jsreport-html-to-xlsx
TypeScript icon, indicating that this package has built-in type declarations

2.0.6 • Public • Published

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

Credits

These definitions were written by Tao Quifeng.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jsreport-html-to-xlsx

Weekly Downloads

681

Version

2.0.6

License

MIT

Unpacked Size

4.25 kB

Total Files

5

Last publish

Collaborators

  • types