Skip to content

Commit f9ba992

Browse files
committed
fix type for setPosition (closes #50)
1 parent 309dfbb commit f9ba992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export interface BiggerPictureInstance {
114114
/** Changes to previous item in gallery. */
115115
prev: () => void
116116
/** Changes to `position` item in gallery (zero-indexed). */
117-
setPosition: (options: { position: number }) => void
117+
setPosition: (position: number) => void
118118
/** Array of all items in currently active gallery */
119119
items: item[]
120120
/** Gallery target */

0 commit comments

Comments
 (0)