From: stockiNail Date: Thu, 20 Apr 2023 15:50:08 +0000 (+0200) Subject: Fix documentation about how to manage own custom plugin for types (#11244) X-Git-Tag: v4.3.0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3ccf6854badc7b300d87f13a30dcd9cada5a6a3;p=thirdparty%2FChart.js.git Fix documentation about how to manage own custom plugin for types (#11244) --- diff --git a/docs/developers/plugins.md b/docs/developers/plugins.md index 60747416b..b5e8004aa 100644 --- a/docs/developers/plugins.md +++ b/docs/developers/plugins.md @@ -194,7 +194,7 @@ For example, to provide typings for the [`canvas backgroundColor plugin`](../con import {ChartType, Plugin} from 'chart.js'; declare module 'chart.js' { - interface PluginOptionsByType { + interface PluginOptionsByType { customCanvasBackgroundColor?: { color?: string }