2.8.5 • Published 2 years ago
@types/jsreport-docx v2.8.5
Installation
npm install --save @types/jsreport-docx
Summary
This package contains type definitions for jsreport-docx (https://github.com/jsreport/jsreport-docx).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-docx.
index.d.ts
// Type definitions for jsreport-docx 2.8
// Project: https://github.com/jsreport/jsreport-docx
// Definitions by: pofider <https://github.com/pofider>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { ExtensionDefinition, TemplateBase } from 'jsreport-core';
declare namespace JsReportDocx {
interface DocxTemplateModifier extends TemplateBase {
docx?: DocxTemplate | undefined;
}
interface Configuration {
preview?: {
enabled: true;
publicUri: string;
showWarning: false;
} | undefined;
}
interface DocxTemplate {
templateAsetShortid?: string | undefined;
templateAsset?: {
content: string;
encoding: string;
} | undefined;
}
}
declare module 'jsreport-core' {
interface TemplateRegistry {
DocxTemplateModifier: JsReportDocx.DocxTemplateModifier;
}
}
declare function JSReportDocx(cfg?: JsReportDocx.Configuration): ExtensionDefinition;
export = JSReportDocx;
Additional Details
- Last updated: Thu, 08 Jul 2021 16:22:57 GMT
- Dependencies: @types/jsreport-core
- Global values: none
Credits
These definitions were written by pofider.