safely type params in position selector
This commit is contained in:
parent
345badb049
commit
504c5469e3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export const doPause = () => (dispatch: Dispatch) =>
|
|||
type: actions.MEDIA_PAUSE,
|
||||
});
|
||||
|
||||
export function savePosition(claimId, position) {
|
||||
export function savePosition(claimId: String, position: Number) {
|
||||
return function(dispatch: Dispatch, getState: Function) {
|
||||
const state = getState();
|
||||
const claim = state.claims.byId[claimId];
|
||||
|
|
Loading…
Add table
Reference in a new issue