mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
"plugins" key moved from ChartConfiguration to ChartOptions
https://stackoverflow.com/questions/44308458/inline-plugin-doesnt-work
This commit is contained in:
4
types/chart.js/index.d.ts
vendored
4
types/chart.js/index.d.ts
vendored
@@ -168,6 +168,8 @@ declare namespace Chart {
|
||||
type?: ChartType | string;
|
||||
data?: ChartData;
|
||||
options?: ChartOptions;
|
||||
// Plugins can require any options
|
||||
plugins?: any;
|
||||
}
|
||||
|
||||
interface ChartData {
|
||||
@@ -195,8 +197,6 @@ declare namespace Chart {
|
||||
cutoutPercentage?: number;
|
||||
circumference?: number;
|
||||
rotation?: number;
|
||||
// Plugins can require any options
|
||||
plugins?: any;
|
||||
}
|
||||
|
||||
interface ChartFontOptions {
|
||||
|
||||
Reference in New Issue
Block a user