Skip to content

Commit

Permalink
refactor: narrow type anchor el
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictwlee committed Apr 18, 2020
1 parent 96bb3a6 commit 951938b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import usePopper from './usePopper';
const AnimatedShadow = Animated(SpotlightShadow);

export type SpotlightProps = {
anchorEl: any;
anchorEl: HTMLElement;
show: boolean;
curPos: number;
pos: number;
Expand Down

0 comments on commit 951938b

Please sign in to comment.