Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoth committed Oct 29, 2024
1 parent bc0c725 commit cb55e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class Playback extends BasePlayback implements BaseSound {
newFilter.frequency.value = filter.frequency.value;
newFilter.Q.value = filter.Q.value;
newFilter.gain.value = filter.gain.value;
this._filters.push(newFilter);
this._filters.push(newFilter as unknown as BiquadFilterNode);
this.refreshFilters();
}

Expand Down

0 comments on commit cb55e1b

Please sign in to comment.