Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
LunatiqueCoder committed Mar 13, 2022
1 parent c694554 commit 01c4366
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-media-console",
"version": "1.0.9",
"version": "1.1.0",
"description": "A media player for the react-native-video component",
"license": "MIT",
"source": "src/index",
Expand Down Expand Up @@ -70,6 +70,18 @@
"typescript"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
},
"eslintIgnore": [
"node_modules/",
"./lib/"
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface VideoPlayerProps extends VideoProperties {
showOnStart?: boolean;
title?: string;
showTimeRemaining?: boolean;
showDuration: boolean;
showDuration?: boolean;
showHours?: boolean;
onBack?: () => void;
onEnterFullscreen?: () => void;
Expand All @@ -46,5 +46,5 @@ export interface VideoPlayerProps extends VideoProperties {
disablePlayPause?: boolean;
navigator?: any;
videoRef?: RefObject<VideoResource>;
rewindTime: number;
rewindTime?: number;
}

0 comments on commit 01c4366

Please sign in to comment.