Skip to content

Commit 60f4533

Browse files
committed
refactor: remove un-necessary readonly
1 parent de093c3 commit 60f4533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useObserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface Options {
1717
rootMargin?: string;
1818
threshold?: number;
1919
}
20-
type Return = readonly [Dispatch<HTMLElement | null>, boolean];
20+
type Return = [Dispatch<HTMLElement | null>, boolean];
2121

2222
export default (
2323
debounce: number,

0 commit comments

Comments
 (0)