Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
santam85 committed Mar 23, 2024
1 parent 5192264 commit e256aee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chartjs-chart-financial",
"description": "Chart.js module for charting financial securities",
"main": "dist/chartjs-chart-financial.min.js",
"version": "0.2.0",
"version": "0.2.1",
"type": "module",
"module": "dist/chartjs-chart-financial.esm.js",
"types": "types/index.d.ts",
Expand Down
7 changes: 6 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ declare module 'chart.js' {
}

type CandlestickControllerDatasetOptions = BarControllerDatasetOptions & {
borderColor: {
borderColors: {
up: string,
down: string,
unchanged: string
};
backgroundColors: {
up: string,
down: string,
unchanged: string
Expand Down

0 comments on commit e256aee

Please sign in to comment.