]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add defaults.describe/defaults.override typings (#8716)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Wed, 24 Mar 2021 19:30:45 +0000 (21:30 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 19:30:45 +0000 (15:30 -0400)
types/index.esm.d.ts

index a8353431259fb0ad9629cc1dfd46a66236bfceaf..6f34f731dd8e70eeab76616ab61aa42421cd6408 100644 (file)
@@ -623,6 +623,9 @@ export interface Defaults extends CoreChartOptions<ChartType>, ElementChartOptio
   set(scope: string, values: AnyObject): AnyObject;
   get(scope: string): AnyObject;
 
+  describe(scope: string, values: AnyObject): AnyObject;
+  override(scope: string, values: AnyObject): AnyObject;
+
   /**
    * Routes the named defaults to fallback to another scope/name.
    * This routing is useful when those target values, like defaults.color, are changed runtime.