@types/jsreport__nodejs-client
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jsreport__nodejs-client

Weekly Downloads

151

Version

3.0.4

License

MIT

Unpacked Size

3.99 kB

Total Files

5

Last publish

Collaborators

  • types