Skip to content

Commit

Permalink
Update types so deprecatedVersion is only on Enter/Leave
Browse files Browse the repository at this point in the history
  • Loading branch information
kcollinsfigma committed Aug 28, 2024
1 parent eaaeb1f commit 46601b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,11 @@ declare type Trigger =
readonly timeout: number
}
| {
readonly type: 'MOUSE_ENTER' | 'MOUSE_LEAVE' | 'MOUSE_UP' | 'MOUSE_DOWN'
readonly type: 'MOUSE_UP' | 'MOUSE_DOWN'
readonly delay: number
}
| {
readonly type: 'MOUSE_ENTER' | 'MOUSE_LEAVE'
readonly delay: number
readonly deprecatedVersion: boolean
}
Expand Down

0 comments on commit 46601b5

Please sign in to comment.