Skip to content

Commit

Permalink
fixes type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EvandroLG committed Aug 5, 2021
1 parent 58e2cc2 commit 4396d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/playlist/AudioPlaylist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const AudioPlaylist = ({
playPrevAudio(states, copiedFiles);
},

on<T>(
on(
eventType: PlaylistEventType,
callback: (param: { [data: string]: T }) => void
callback: (param: { [data: string]: unknown }) => void
) {
emmiter.listener(eventType, callback);
},
Expand Down

0 comments on commit 4396d82

Please sign in to comment.