@types/chroma-js
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -1,6 +0,5 @@ | ||
// Type definitions for Chroma.js 2.0 | ||
// Type definitions for Chroma.js 2.1 | ||
// Project: https://github.com/gka/chroma.js | ||
// Definitions by: Sebastian Brückner <https://github.com/invliD>, Marcin Pacholec <https://github.com/mpacholec> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
@@ -107,3 +106,3 @@ /** | ||
*/ | ||
average(colors: Array<string | Color>, colorSpace?: keyof ColorSpaces): Color; | ||
average(colors: Array<string | Color>, colorSpace?: keyof ColorSpaces, weights?: number[]): Color; | ||
@@ -251,3 +250,3 @@ /** | ||
* Returns a single channel value. | ||
* @see set | ||
* Also @see set | ||
*/ | ||
@@ -254,0 +253,0 @@ get(modechan: string): number; |
{ | ||
"name": "@types/chroma-js", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "TypeScript definitions for Chroma.js", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "7f8847d251ac2e353a11185138988fb51d840f4b7476a765495cb26236ed3079", | ||
"typeScriptVersion": "3.1" | ||
"typesPublisherContentHash": "bee1def2e523699b9787372424ff86b92bf13aa89e7888168cca607ad45d38ee", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 10 Sep 2020 17:17:08 GMT | ||
* Last updated: Thu, 17 Sep 2020 20:40:15 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `chroma` |
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
20217
410