Skip to content

Commit

Permalink
fix: make ref optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanzyTHEbar committed May 16, 2023
1 parent af0a9c9 commit e9f64c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ export interface ChartProps {
* A ref to the Chart.js instance
* @default null
*/
ref: Ref<HTMLCanvasElement | null>
ref?: Ref<HTMLCanvasElement | null>
}

0 comments on commit e9f64c8

Please sign in to comment.