Skip to content

Commit

Permalink
fix types for ts@3.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Nov 6, 2019
1 parent a673183 commit d2225a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const setBodyUserSelect = (nextValues: UserSelectValues): UserSelectValue
msUserSelect: document.body.style.msUserSelect,
};

document.body.style.userSelect = nextValues.userSelect;
document.body.style.userSelect = nextValues.userSelect || '';
// MozUserSelect is not typed in TS
// @ts-ignore
document.body.style.MozUserSelect = nextValues.MozUserSelect;
Expand Down

0 comments on commit d2225a2

Please sign in to comment.