@types/sharp
Advanced tools
Comparing version 0.22.0 to 0.22.1
@@ -427,4 +427,12 @@ // Type definitions for sharp 0.22 | ||
*/ | ||
linear(a?: number, b?: number): Sharp; | ||
linear(a?: number | null, b?: number): Sharp; | ||
/** | ||
* Recomb the image with the specified matrix. | ||
* @param inputMatrix 3x3 Recombination matrix | ||
* @throws {Error} Invalid parameters | ||
* @returns A sharp instance that can be used to chain operations | ||
*/ | ||
recomb(inputMatrix: Matrix3x3): Sharp; | ||
//#endregion | ||
@@ -1032,4 +1040,10 @@ | ||
} | ||
type Matrix3x3 = [ | ||
[number, number, number], | ||
[number, number, number], | ||
[number, number, number] | ||
]; | ||
} | ||
export = sharp; |
{ | ||
"name": "@types/sharp", | ||
"version": "0.22.0", | ||
"version": "0.22.1", | ||
"description": "TypeScript definitions for sharp", | ||
@@ -39,4 +39,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "3f980a5b89bda9be12e523da38f7d5c4d72d84812d387292eb5ae9643de6dc12", | ||
"typesPublisherContentHash": "4fbfa973a61391e8ea79f3944c2b60d6e60c5ee6eb698e958d4fd89ca90230dc", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Thu, 21 Mar 2019 22:51:49 GMT | ||
* Last updated: Thu, 28 Mar 2019 00:36:59 GMT | ||
* Dependencies: @types/node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
50703
926