Installation
npm install --save @types/jsreport__nodejs-client
Summary
This package contains type definitions for @jsreport/nodejs-client (https://github.com/jsreport/jsreport/tree/master/packages/nodejs-client).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsreport__nodejs-client.
index.d.ts
import JsReport = require("jsreport");
import { ServerResponse } from "http";
declare namespace createJsReportClient {
interface ClientRenderResponse extends ServerResponse {
body(): Promise<Buffer>;
}
interface Client {
/** @async */
render(req: Partial<JsReport.Request>, options?: object): Promise<ClientRenderResponse>;
}
}
declare function createJsReportClient(url: string, username: string, password: string): createJsReportClient.Client;
declare function createJsReportClient(url: string): createJsReportClient.Client;
export = createJsReportClient;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/jsreport
Credits
These definitions were written by reediculous456.