Skip to content

Commit 61e4c2f

Browse files
committed
(types): canvasProps should be more specific than any
- not sure if <object> makes sense, but it needed an argument
1 parent a2fae62 commit 61e4c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface IOptions {
1616

1717
// props specific to the React wrapper
1818
export interface SignatureCanvasProps extends IOptions {
19-
canvasProps?: any,
19+
canvasProps?: React.CanvasHTMLAttributes<object>,
2020
clearOnResize?: boolean
2121
}
2222

0 commit comments

Comments
 (0)