Skip to content

Commit

Permalink
Fixed TypeScript declarations
Browse files Browse the repository at this point in the history
See #481
  • Loading branch information
chrisn committed Mar 24, 2023
1 parent bf26940 commit c2429d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peaks.js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ declare module 'peaks.js' {
*/
zoomAdapter?: string;
/** Array of initial segment objects */
segments?: Segment[];
segments?: SegmentAddOptions[];
/** Array of initial point objects */
points?: Point[];
points?: PointAddOptions[];
/** Emit cue events when playing */
emitCueEvents?: boolean;
/** Custom segment marker factory function */
Expand Down

0 comments on commit c2429d4

Please sign in to comment.