Skip to content

Commit e256aee

Browse files
committed
Fix types
1 parent 5192264 commit e256aee

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "chartjs-chart-financial",
33
"description": "Chart.js module for charting financial securities",
44
"main": "dist/chartjs-chart-financial.min.js",
5-
"version": "0.2.0",
5+
"version": "0.2.1",
66
"type": "module",
77
"module": "dist/chartjs-chart-financial.esm.js",
88
"types": "types/index.d.ts",

types/index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ declare module 'chart.js' {
2222
}
2323

2424
type CandlestickControllerDatasetOptions = BarControllerDatasetOptions & {
25-
borderColor: {
25+
borderColors: {
26+
up: string,
27+
down: string,
28+
unchanged: string
29+
};
30+
backgroundColors: {
2631
up: string,
2732
down: string,
2833
unchanged: string

0 commit comments

Comments
 (0)