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.

[feature request] Remove @types packages for packages already including types.

See original GitHub issue

Lot of packages are starting to include their own types, making the @types typings unnecessary for those packages.

TypeScript will ignore the @types typings if a package includes types, but I don’t know of an automated way to figure out which @types typings are no longer necessary and remove them.

Perhaps this project could handle cleaning up the redundant/outdated @types packages?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeffijoecommented, Oct 30, 2019

That would be a bad idea, because sometimes the typings from DT are more correct than the ones shipping with the package. Jest is one of those.

0reactions
jeffijoecommented, Nov 3, 2019

No problem! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Delete unused packages · Issue #12 - GitHub
I have several packages that have never been downloaded. They have been built before I fully setup a CI pipeline. I don't know...
Read more >
Package Registry - GitLab Docs
Expand the Visibility, project features, permissions section and disable the Packages feature. Select Save changes. The Packages and registries > Package ...
Read more >
Icinga2 Api - Icinga 2
You can delete objects created using the API by sending a DELETE request. Parameters, Type, Description. cascade, Boolean, Optional. Delete objects depending on ......
Read more >
package.json - npm Docs
Description. This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
File an issue, bug report, feature request; Installation issues ... you can remove "is:open" to include issues that have already been ...
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