Updating UIEvent to an interface.

This commit is contained in:
mike12345567 2025-02-07 12:02:58 +00:00
parent 85b2db1f02
commit 126befde3e
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
export type UIEvent = Event & {
export interface UIEvent extends Omit<Event, "target"> {
currentTarget: EventTarget & HTMLInputElement
} & { key?: string } & { target?: any }
key?: string
target?: any
}