Skip to content

Commit 6449968

Browse files
committed
style(*): adjust format
1 parent 3a15b7f commit 6449968

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lib/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export interface IViewport {
4848
dimensions: IDimensions;
4949
}
5050

51-
export type TViewportChangeHandler = ({ scroll, dimensions }: IViewport) => void;
51+
export type TViewportChangeHandler = (
52+
{ scroll, dimensions }: IViewport,
53+
) => void;
5254

5355
export interface IViewportChangeOptions {
5456
notifyScroll: boolean;

lib/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ export const shallowEqualScroll = (a: IScroll, b: IScroll) => {
1818
);
1919
};
2020

21-
export const shallowEqualPrivateScroll = (a: IPrivateScroll, b: IPrivateScroll) => {
21+
export const shallowEqualPrivateScroll = (
22+
a: IPrivateScroll,
23+
b: IPrivateScroll,
24+
) => {
2225
if (a === b) {
2326
return true;
2427
}

0 commit comments

Comments
 (0)