mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
fix: fix Plugin interface (#11016)
This commit is contained in:
parent
237a893415
commit
fd505acced
2
src/types/basic.d.ts
vendored
2
src/types/basic.d.ts
vendored
@ -1,3 +1,3 @@
|
|||||||
|
|
||||||
export type AnyObject = Record<string, unknown>;
|
export type AnyObject = Record<string, any>;
|
||||||
export type EmptyObject = Record<string, never>;
|
export type EmptyObject = Record<string, never>;
|
||||||
|
@ -23,7 +23,8 @@ import {
|
|||||||
Legend,
|
Legend,
|
||||||
Title,
|
Title,
|
||||||
SubTitle,
|
SubTitle,
|
||||||
Tooltip
|
Tooltip,
|
||||||
|
Colors
|
||||||
} from '../../src/types.js';
|
} from '../../src/types.js';
|
||||||
|
|
||||||
Chart.register(
|
Chart.register(
|
||||||
@ -50,5 +51,6 @@ Chart.register(
|
|||||||
Legend,
|
Legend,
|
||||||
Title,
|
Title,
|
||||||
SubTitle,
|
SubTitle,
|
||||||
Tooltip
|
Tooltip,
|
||||||
|
Colors
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user