Skip to content

Commit 5e979bd

Browse files
committed
refactor: make prop types optional
1 parent 12058fd commit 5e979bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ export interface Signature {
198198
}
199199

200200
export interface Props {
201-
options: Options
202-
width: string
203-
height: string
201+
options?: Options
202+
width?: string
203+
height?: string
204204
minWidth?: number
205205
maxWidth?: number
206206
waterMark?: WaterMarkObj

0 commit comments

Comments
 (0)