Skip to content

Commit

Permalink
fix: fix type definition of offset to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
uidev1116 committed Apr 8, 2022
1 parent d10ff3a commit f988168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ declare module 'scroll-hint' {
interface i18n {
scrollable: string
}

interface ScrollHintOption {
suggestClass?: string,
scrollableClass?: string,
Expand All @@ -19,7 +19,7 @@ declare module 'scroll-hint' {
enableOverflowScrolling?: boolean,
applyToParents?: boolean,
suggestiveShadow?: boolean,
offset: number,
offset?: number,
i18n?: i18n
}

Expand Down

0 comments on commit f988168

Please sign in to comment.