Bug: Type complaining issues with mux-player 1.0.0
See original GitHub issueChecklist
- Verified whether your issue exists in the latest version Mux Element(s) release:
npm install @mux/[element_name]
oryarn @mux/[element_name]
.- (NOTE: If the issue is not occurring in the latest version, we may not resolve it.)
- Confirmed that this issue hasn’t already been filed.
Which Mux Elements/Packages has a bug?
mux-playback , mux-player
Which browser(s) are you using?
N/A - Compile time issue
Which operating system(s) are you using?
MacOS
How are you using Mux Elements?
npm package, in an angular typescript project
Describe the bug
Steps To Reproduce
- install mux-player
- Attempt to compile angular project after including mux-player element
Link to code example:
The current behavior
Getting a compile time error
Error: node_modules/@mux/playback-core/dist/types/index.d.ts:5:28 - error TS1005: ',' expected.
5 import { StreamTypes, type ValueOf, type PlaybackCore, type MuxMediaProps, type MuxMediaPropsInternal } from './types';
~~~~~~~
Error: node_modules/@mux/playback-core/dist/types/index.d.ts:5:42 - error TS1005: ',' expected.
5 import { StreamTypes, type ValueOf, type PlaybackCore, type MuxMediaProps, type MuxMediaPropsInternal } from './types';
~~~~~~~~~~~~
Error: node_modules/@mux/playback-core/dist/types/index.d.ts:5:61 - error TS1005: ',' expected.
5 import { StreamTypes, type ValueOf, type PlaybackCore, type MuxMediaProps, type MuxMediaPropsInternal } from './types';
~~~~~~~~~~~~~
Error: node_modules/@mux/playback-core/dist/types/index.d.ts:5:81 - error TS1005: ',' expected.
5 import { StreamTypes, type ValueOf, type PlaybackCore, type MuxMediaProps, type MuxMediaPropsInternal } from './types';
~~~~~~~~~~~~~~~~~~~~~
Apologies for the short bug report. I’ve attempted to clear down node modules and reinstall however that didn’t resolve for me either…
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Going to close this and advise that folks on TS 4.3 upgrade to 4.8, I don’t think there are major blockers that would prevent people from doing that upgrade
Upgrading typescript from 4.3.x to 4.8.x did the trick over here.