Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

website: show TypeScript information for packages that have type declarations #20

Closed
ethomson opened this issue Nov 10, 2020 · 1 comment

Comments

@ethomson
Copy link

ethomson commented Nov 10, 2020

Summary

Packages may have bundled TypeScript type information, and they contain .d.ts type declarations inside their package, and a types declaration in the package.json.

For packages with bundled type declarations, we will decorate the package on the website to indicate that it has TypeScript type declarations bundled.

Intended Outcome

  • Users can see that packages have great TypeScript support because they have types available
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2020
@MylesBorins
Copy link
Contributor

We shipped an initial version of this feature!

https://github.blog/changelog/2020-12-16-npm-displays-packages-with-bundled-typescript-declarations/

Support for .d.ts and DefinitelyTyped will be coming as a follow up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants