Skip to content

Commit

Permalink
fix: fix Plugin interface (#11016)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreen committed Dec 22, 2022
1 parent 237a893 commit fd505ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/types/basic.d.ts
@@ -1,3 +1,3 @@

export type AnyObject = Record<string, unknown>;
export type AnyObject = Record<string, any>;
export type EmptyObject = Record<string, never>;
6 changes: 4 additions & 2 deletions test/types/register.ts
Expand Up @@ -23,7 +23,8 @@ import {
Legend,
Title,
SubTitle,
Tooltip
Tooltip,
Colors
} from '../../src/types.js';

Chart.register(
Expand All @@ -50,5 +51,6 @@ Chart.register(
Legend,
Title,
SubTitle,
Tooltip
Tooltip,
Colors
);

0 comments on commit fd505ac

Please sign in to comment.