Commit 7a3e013e authored by Fredrick Eisele's avatar Fredrick Eisele
Browse files

target may not be present and type must be a string

That type can only be one of the specified event types.
parent 4eb61fc1
Loading
Loading
Loading
Loading
+2 −2
Changes for index.d.ts: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -4092,9 +4092,9 @@ declare namespace Cy {
        /** a reference to the corresponding core Core */
        cy: any;
         /** indicates the element or core that first caused the event */
        target: any;
        target?: any;
        /** the event type string (e.g. "tap") */
        type: any;
        type: UserInputDeviceEventName | UserInputDeviceEventNameExt;
        /** the event namespace string (e.g. "foo" for "foo.tap") */
        namespace: string;
        /** Unix epoch time of event in milliseconds */