diff --git a/src/player.ts b/src/player.ts index 334a565b..3ba480ba 100644 --- a/src/player.ts +++ b/src/player.ts @@ -192,7 +192,9 @@ export class Player extends NativeInstance { * * @param mode - The time mode to specify: an absolute UNIX timestamp ('absolute') or relative time ('relative'). */ - getCurrentTime = async (mode?: 'relative' | 'absolute'): Promise => { + getCurrentTime = async ( + mode: 'relative' | 'absolute' = 'absolute' + ): Promise => { return PlayerModule.currentTime(this.nativeId, mode); };