]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fix: fix Plugin interface (#11016)
authorDan Onoshko <danon0404@gmail.com>
Thu, 22 Dec 2022 21:17:28 +0000 (01:17 +0400)
committerGitHub <noreply@github.com>
Thu, 22 Dec 2022 21:17:28 +0000 (16:17 -0500)
src/types/basic.d.ts
test/types/register.ts

index 1692c9cb3b8ffdfbd26e03279cdbba947d19f60d..2f48ee23dcbafbd094f962b4b112548317e1b45e 100644 (file)
@@ -1,3 +1,3 @@
 
-export type AnyObject = Record<string, unknown>;
+export type AnyObject = Record<string, any>;
 export type EmptyObject = Record<string, never>;
index e844ab8a4a72b6a27dec933b68fdc5c120a7f903..9efa5a3e8da2415bd9c78a846488d3847d7c1b6e 100644 (file)
@@ -23,7 +23,8 @@ import {
   Legend,
   Title,
   SubTitle,
-  Tooltip
+  Tooltip,
+  Colors
 } from '../../src/types.js';
 
 Chart.register(
@@ -50,5 +51,6 @@ Chart.register(
   Legend,
   Title,
   SubTitle,
-  Tooltip
+  Tooltip,
+  Colors
 );