2.6.5 • Published 2 years ago
@types/jsreport-scripts v2.6.5
Installation
npm install --save @types/jsreport-scripts
Summary
This package contains type definitions for jsreport-scripts (https://github.com/jsreport/jsreport-scripts).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport-scripts.
index.d.ts
// Type definitions for jsreport-scripts 2.6
// Project: https://github.com/jsreport/jsreport-scripts
// Definitions by: pofider <https://github.com/pofider>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { ExtensionDefinition, Template } from 'jsreport-core';
declare namespace JsReportScripts {
interface TemplateScript {
shortid?: string | undefined;
name?: string | undefined;
content?: string | undefined;
}
interface Configuration {
allowedModules?: string[] | "*" | undefined;
}
interface ScriptsTemplate extends Template {
scripts?: TemplateScript[] | undefined;
}
}
declare module 'jsreport-core' {
interface TemplateRegistry {
ScriptsTemplate: JsReportScripts.ScriptsTemplate;
}
}
declare function JsReportScripts(cfg?: JsReportScripts.Configuration): ExtensionDefinition;
export = JsReportScripts;
Additional Details
- Last updated: Thu, 08 Jul 2021 16:22:58 GMT
- Dependencies: @types/jsreport-core
- Global values: none
Credits
These definitions were written by pofider.