question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Typescript support issues

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dragmacommented, Feb 12, 2019

I released V3 today. Tell me if this resolves your problem ! 😃

1reaction
dragmacommented, Dec 20, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found