fix: Make duration
non-optional (#744)
and not limited to iOS. This PR fixes the types.
This commit is contained in:
parent
00fc39891a
commit
28fc6a68a5
@ -50,10 +50,6 @@ export interface RecordVideoOptions {
|
||||
export interface VideoFile extends TemporaryFile {
|
||||
/**
|
||||
* Represents the duration of the video, in seconds.
|
||||
*
|
||||
* This is `undefined` on Android, see [issue #77](https://github.com/mrousavy/react-native-vision-camera/issues/77)
|
||||
*
|
||||
* @platform iOS
|
||||
*/
|
||||
duration?: number;
|
||||
duration: number;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user