Skip to content

Commit

Permalink
Add replaceCurrent property to Interfaces
Browse files Browse the repository at this point in the history
Introduced a new optional property `replaceCurrent` in the interface definition. This allows more flexibility in handling state changes where current data may need replacement.
  • Loading branch information
Takiyo0 committed Dec 13, 2024
1 parent bd67e3b commit de954e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modules/Interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export interface PlayOptions {
endTime?: number;
volume?: number;
paused?: boolean;
replaceCurrent?: boolean;
}

export enum State {
Expand Down

0 comments on commit de954e7

Please sign in to comment.