You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering how/when the @types/ package will accompany v8?
Currently they seem out of sync. When upgrading to v8.5.2 from v7.20.1, i can't : import videojs from 'video.js', and then have access to dot notation typings.
in order to use videojs.Player i now need to import Player separately, "import Player from "video.js/dist/types/player";"
I use typings through-out my app, videojs.Player , videojs.PlayerOptions, etc, etc. I was wondering how I should go about updating this, or would every type need to be imported separately?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I was wondering how/when the @types/ package will accompany v8?
Currently they seem out of sync. When upgrading to v8.5.2 from v7.20.1, i can't : import videojs from 'video.js', and then have access to dot notation typings.
in order to use videojs.Player i now need to import Player separately, "import Player from "video.js/dist/types/player";"
I use typings through-out my app, videojs.Player , videojs.PlayerOptions, etc, etc. I was wondering how I should go about updating this, or would every type need to be imported separately?
Beta Was this translation helpful? Give feedback.
All reactions