From 23de72c7e3fe2a0c8e2c8900bd514908c0e78f80 Mon Sep 17 00:00:00 2001 From: Takuya Uehara Date: Sun, 1 Nov 2020 21:28:45 +0900 Subject: [PATCH] Use TypeScript syntax highlight for TypeScript code (#7988) --- docs/docs/developers/charts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/developers/charts.md b/docs/docs/developers/charts.md index 1382ed09c..b9d1b6f88 100644 --- a/docs/docs/developers/charts.md +++ b/docs/docs/developers/charts.md @@ -159,7 +159,7 @@ When adding a new chart type, `IChartTypeRegistry` must contains the declaration For example, to provide typings for a new chart type that extends from a bubble chart, you would add a `.d.ts` containing: -```javascript +```ts import { IChartTypeRegistry } from 'chart.js' declare module 'chart.js' { -- 2.47.2