fix: fix Plugin interface (#11016)

This commit is contained in:
Dan Onoshko 2022-12-23 01:17:28 +04:00 committed by GitHub
parent 237a893415
commit fd505acced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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>;

View File

@ -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
); );