mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Indicate that SubTitle is a plugin in TS types (#9386)
* Indicate that `SubTitle` is a plugin in TS types * Export subtitle plugin options
This commit is contained in:
parent
655c635191
commit
6ab2e8cdcd
2
types/index.esm.d.ts
vendored
2
types/index.esm.d.ts
vendored
@ -2275,6 +2275,7 @@ export interface LegendOptions<TType extends ChartType> {
|
||||
};
|
||||
}
|
||||
|
||||
export const SubTitle: Plugin;
|
||||
export const Title: Plugin;
|
||||
|
||||
export interface TitleOptions {
|
||||
@ -2685,6 +2686,7 @@ export interface PluginOptionsByType<TType extends ChartType> {
|
||||
decimation: DecimationOptions;
|
||||
filler: FillerOptions;
|
||||
legend: LegendOptions<TType>;
|
||||
subtitle: TitleOptions;
|
||||
title: TitleOptions;
|
||||
tooltip: TooltipOptions<TType>;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user