From f3b1dd3285a173e92c23cd3e39bf45985439e171 Mon Sep 17 00:00:00 2001 From: James Hollowell Date: Wed, 1 Sep 2021 15:00:09 -0400 Subject: [PATCH] Fix Priority TS Type (#43) Priority should be a number, not a string --- types/index.esm.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 48c12d9..7a571d3 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -22,7 +22,7 @@ declare module 'chart.js' { colorTo: (data: ScriptableContext<'sankey'>) => string; colorMode: 'gradient' | 'from' | 'to'; /* Map */ - priority?: Record + priority?: Record /* Map */ labels?: Record