mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Use TypeScript syntax highlight for TypeScript code (#7988)
This commit is contained in:
parent
ff76a236bf
commit
23de72c7e3
@ -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' {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user