From 46601b52cbd076a5c76b5bee8e10fec1bda3a555 Mon Sep 17 00:00:00 2001 From: Kelsey Collins Date: Wed, 28 Aug 2024 14:18:34 -0700 Subject: [PATCH] Update types so deprecatedVersion is only on Enter/Leave --- plugin-api.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugin-api.d.ts b/plugin-api.d.ts index 81a1976..cbd6bcc 100644 --- a/plugin-api.d.ts +++ b/plugin-api.d.ts @@ -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 }