@types/chart.js
Advanced tools
Comparing version 2.7.25 to 2.7.26
@@ -55,2 +55,6 @@ // Type definitions for Chart.js 2.7 | ||
static helpers: { | ||
[key: string]: any; | ||
}; | ||
// Tooltip Static Options | ||
@@ -68,3 +72,3 @@ static Tooltip: Chart.ChartTooltipsStaticConfiguration; | ||
resize?(chartInstance: Chart, newChartSize: Size, options?: any): void; | ||
resize?(chartInstance: Chart, newChartSize: Chart.ChartSize, options?: any): void; | ||
@@ -102,7 +106,2 @@ beforeUpdate?(chartInstance: Chart, options?: any): void; | ||
interface Size { | ||
height: number; | ||
width: number; | ||
} | ||
interface Meta { | ||
@@ -242,2 +241,7 @@ type: Chart.ChartType; | ||
interface ChartSize { | ||
height: number; | ||
width: number; | ||
} | ||
interface ChartOptions { | ||
@@ -251,2 +255,3 @@ responsive?: boolean; | ||
onClick?(event?: MouseEvent, activeElements?: Array<{}>): any; | ||
onResize?(this: Chart, newSize: ChartSize): void; | ||
title?: ChartTitleOptions; | ||
@@ -253,0 +258,0 @@ legend?: ChartLegendOptions; |
{ | ||
"name": "@types/chart.js", | ||
"version": "2.7.25", | ||
"version": "2.7.26", | ||
"description": "TypeScript definitions for Chart.js", | ||
@@ -85,4 +85,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "fa00422ad759974669dab90f98c375ac164eab4687824bad05231b1704792780", | ||
"typesPublisherContentHash": "fc10330dfd29613db4b876bc0e41a290cfd56d6fdcf1841d2a95cdb4088884b7", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 27 Jun 2018 01:27:15 GMT | ||
* Last updated: Fri, 06 Jul 2018 00:07:02 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Chart |
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
25752
579