Skip to content

Commit

Permalink
Indicate that SubTitle is a plugin in TS types (#9386)
Browse files Browse the repository at this point in the history
* Indicate that `SubTitle` is a plugin in TS types

* Export subtitle plugin options
  • Loading branch information
etimberg committed Jul 10, 2021
1 parent 655c635 commit 6ab2e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.esm.d.ts
Expand Up @@ -2275,6 +2275,7 @@ export interface LegendOptions<TType extends ChartType> {
};
}

export const SubTitle: Plugin;
export const Title: Plugin;

export interface TitleOptions {
Expand Down Expand Up @@ -2685,6 +2686,7 @@ export interface PluginOptionsByType<TType extends ChartType> {
decimation: DecimationOptions;
filler: FillerOptions;
legend: LegendOptions<TType>;
subtitle: TitleOptions;
title: TitleOptions;
tooltip: TooltipOptions<TType>;
}
Expand Down

0 comments on commit 6ab2e8c

Please sign in to comment.