Skip to content

Commit 80ae501

Browse files
pelotomstipsan
authored andcommitted
Make options optional (#75)
1 parent 27c3dd6 commit 80ae501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

typings.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
declare module 'scroll-into-view-if-needed' {
22
interface ScrollIntoViewIfNeededOptions {
3-
centerIfNeeded: boolean;
4-
duration: number;
5-
easing: 'ease' | 'easeIn' | 'easeOut' | 'easeInOut' | 'linear';
3+
centerIfNeeded?: boolean;
4+
duration?: number;
5+
easing?: 'ease' | 'easeIn' | 'easeOut' | 'easeInOut' | 'linear';
66
}
77

88
interface ScrollIntoViewIfNeededFunction {

0 commit comments

Comments
 (0)