Updating UIEvent to an interface.
This commit is contained in:
parent
85b2db1f02
commit
126befde3e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue