mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 00:14:03 +01: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:
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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user