From: Evert Timberg Date: Sat, 10 Jul 2021 13:26:37 +0000 (-0400) Subject: Indicate that `SubTitle` is a plugin in TS types (#9386) X-Git-Tag: v3.5.0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab2e8cdcd38dd09e94975c9f436d6db2abc941a;p=thirdparty%2FChart.js.git Indicate that `SubTitle` is a plugin in TS types (#9386) * Indicate that `SubTitle` is a plugin in TS types * Export subtitle plugin options --- diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 2a0c2bd8f..17c9c0282 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2275,6 +2275,7 @@ export interface LegendOptions { }; } +export const SubTitle: Plugin; export const Title: Plugin; export interface TitleOptions { @@ -2685,6 +2686,7 @@ export interface PluginOptionsByType { decimation: DecimationOptions; filler: FillerOptions; legend: LegendOptions; + subtitle: TitleOptions; title: TitleOptions; tooltip: TooltipOptions; }