@types/wkhtmltopdf
Advanced tools
Comparing version 0.3.8 to 0.3.9
@@ -6,2 +6,4 @@ // This is based on wkhtmltopdf version 0.12.6 | ||
import { Readable } from "stream"; | ||
/** | ||
@@ -17,4 +19,4 @@ * Call wkhtmltopdf and write PDF | ||
options?: Options, | ||
callback?: (err: Error, stream: NodeJS.ReadWriteStream) => void, | ||
): NodeJS.ReadWriteStream; | ||
callback?: (err: Error | null, stream?: NodeJS.ReadWriteStream) => void, | ||
): Readable; | ||
/** | ||
@@ -31,4 +33,4 @@ * Call wkhtmltopdf and write PDF | ||
options?: Options, | ||
callback?: (err: Error, stream: NodeJS.ReadWriteStream) => void, | ||
): NodeJS.ReadWriteStream; | ||
callback?: (err: Error | null, stream?: NodeJS.ReadWriteStream) => void, | ||
): Readable; | ||
/** | ||
@@ -42,3 +44,7 @@ * Call wkhtmltopdf and write PDF | ||
*/ | ||
declare function wkhtmltopdf(inputStream: NodeJS.ReadStream, options?: Options): NodeJS.ReadWriteStream; | ||
declare function wkhtmltopdf( | ||
inputStream: NodeJS.ReadStream, | ||
options?: Options, | ||
callback?: (err: Error | null, stream?: NodeJS.ReadWriteStream) => void, | ||
): Readable; | ||
@@ -45,0 +51,0 @@ declare namespace wkhtmltopdf { |
{ | ||
"name": "@types/wkhtmltopdf", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "TypeScript definitions for wkhtmltopdf", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wkhtmltopdf", | ||
}, | ||
"typesPublisherContentHash": "bc1a1d66d809e23915eda6bf1bd50fb265d4aa6b526e5a3acaee6e8f89dddce1", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "2d2933136c3e06b11b8af15912e06da472701448028b24dfd7a65e16341175ca", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Last updated: Thu, 02 May 2024 14:06:51 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17542
350