mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
add param in play header
This commit is contained in:
1 parent
f8aae5ef40
commit
a9a9232313
1 file changed
+4
-1
Vendored
+4
-1
@@ -37,7 +37,10 @@ interface Media {
|
||||
mediaError?: (error: MediaError) => void): void;
|
||||
/** Returns the duration of an audio file in seconds. If the duration is unknown, it returns a value of -1. */
|
||||
getDuration(): number;
|
||||
/** Starts or resumes playing an audio file. */
|
||||
/**
|
||||
* Starts or resumes playing an audio file.
|
||||
* @param iosPlayOptions: iOS options quirks
|
||||
*/
|
||||
play(iosPlayOptions?: IosPlayOptions): void;
|
||||
/** Pauses playing an audio file. */
|
||||
pause(): void;
|
||||
|
||||
Reference in new issue
Block a user