Skip to content

Commit

Permalink
Merge pull request #1273 from Gudine/master
Browse files Browse the repository at this point in the history
Corrects getTooltips and getOrigins return types to arrays
  • Loading branch information
leongersen authored Jun 21, 2024
2 parents 787ad0c + fc0c972 commit 44744a0
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 44744a0

Please sign in to comment.