Skip to content

Commit

Permalink
fix event plugin fire function typing - #3367
Browse files Browse the repository at this point in the history
  • Loading branch information
evs-chris committed Mar 18, 2021
1 parent 1aca02f commit dd16b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/ractive.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export type Decorator<T extends Ractive<T> = Ractive> = (this: T, node: HTMLElem

export type Easing = (time: number) => number;

export type EventPlugin<T extends Ractive<T> = Ractive> = (this: T, node: HTMLElement, fire: (event: Event) => void) => { teardown: () => void };
export type EventPlugin<T extends Ractive<T> = Ractive> = (this: T, node: HTMLElement, fire: (event?: ValueMap) => void) => { teardown: () => void };

export interface FindOpts {
/**
Expand Down

0 comments on commit dd16b4d

Please sign in to comment.