Skip to content

Commit

Permalink
Converts getTooltips and getOrigins return types into arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Gudine committed Jun 20, 2024
1 parent 787ad0c commit fc0c972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nouislider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ export interface API {
removePips: () => void;
removeTooltips: () => void;
getPositions: () => number[];
getTooltips: () => { [handleNumber: number]: HTMLElement | false };
getOrigins: () => { [handleNumber: number]: HTMLElement };
getTooltips: () => (HTMLElement | false)[] | null;
getOrigins: () => HTMLElement[];
pips: (grid: Pips) => HTMLElement;
}

Expand Down

0 comments on commit fc0c972

Please sign in to comment.