Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3a2f12a

Browse files
authored
Update react-popper.d.ts (#388)
update type to reflect actual types returned.
1 parent 98c7a57 commit 3a2f12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/react-popper.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function usePopper<Modifiers>(
7676
}
7777
): {
7878
styles: { [key: string]: React.CSSProperties };
79-
attributes: { [key: string]: { [key: string]: string } };
79+
attributes: { [key: string]: { [key: string]: string } | undefined };
8080
state: PopperJS.State | null;
8181
update: PopperJS.Instance['update'] | null;
8282
forceUpdate: PopperJS.Instance['forceUpdate'] | null;

0 commit comments

Comments
 (0)