Bug: Typescript support issues
See original GitHub issueI get An index signature parameter type cannot be a union type. Consider using a mapped object type instead.
when trying to use this library with typescript.
Apparently, the issue is coming from the labels in the index.d.ts file for the media object (line 119). Here there is a discussion about this --> https://github.com/Microsoft/TypeScript/issues/24220
Is it just me or am I missing something in the configuration?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Issues · microsoft/TypeScript - GitHub
Issues list · Redundant "has or is using private name" diagnostic when name not found · Project with references but no input files...
Read more >3 bugs that TypeScript could have prevented - Tech Blog
An obstacle that slows down development or a time saver? We talk about some of our experiences.
Read more >Documentation - TypeScript 3.9
TypeScript 3.9 addresses this issue by changing the internals of how the compiler and language service caches file lookups.
Read more >#TypeScript | Everything - JetBrains YouTrack
WEB-56403 Vue 3 Setup: Vue TypeScript Service false errors not suppressed in Problems > Project Errors tab. 1. 20. 31. Bug. NEXT 2022.3.1...
Read more >TypeScript errors and how to fix them
To fix the problem you have to update the reference path to point to ... error TS1218: Export assignment is not supported when...
Read more >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
I released V3 today. Tell me if this resolves your problem ! 😃
I’m sorry. There is a big update coming, but there are some issues that needs to be corrected before. Plus this is a hard period right now for working on side projects. I’ll keep you in touch here when there is any update.