Skip to content

Commit

Permalink
Add defaults.describe/defaults.override typings (#8716)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Mar 24, 2021
1 parent 9583edd commit 7fff21b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/index.esm.d.ts
Expand Up @@ -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.
Expand Down

0 comments on commit 7fff21b

Please sign in to comment.