Skip to content

Commit

Permalink
Update TypeScript typings
Browse files Browse the repository at this point in the history
  • Loading branch information
demiazz committed May 6, 2017
1 parent 6645884 commit 5cec0ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions d.ts/homey.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export function dataset(element: HTMLElement): Dataset;
/* Events */

export function dispatch(target: EventTarget, eventType: EventType, options?: EventOptions): boolean;
export function on(element: Element, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;
export function once(element: Element, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;
export function delegate(element: Element, selector: CSSSelector, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;
export function on(target: EventTarget, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;
export function once(target: EventTarget, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;
export function delegate(target: EventTarget, selector: CSSSelector, eventType: EventType, listener: EventListener, useCapture?: boolean): () => void;

/* Manipulation */

Expand Down

0 comments on commit 5cec0ff

Please sign in to comment.