Move TypeScript definitions to DefinitelyTyped
See original GitHub issueTypeScript is gaining more and more traction these days, now publishing type definitions on npm as @types/package-name
. @ai, if you still want to remove the TS definitions from this project, I can submit a PR to DefinitelyTyped and it will be published at https://www.npmjs.com/package/@types/postcss
in the future; however, that is definitely not the golden path and I would urge you to reconsider based on how much traction TypeScript is getting these days.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Updating Typescript Declaration Files from Definitely Typed
Updating the Types in Your Project The quickest way to correct the types for our project is to extend the existing definitions. Grab...
Read more >Move TypeScript definitions from DefinitelyTyped into mathjs
Reasons: Having to separately install type definitions is an extra for the TypeScript user. The type definitions of mathjs at DefinitelyTyped ...
Read more >Publishing Typings to DefinitelyTyped | by Max Boguslavskiy
Publishing Typings to DefinitelyTyped. Intro. Typescript is a great addition to JavaScript. Unfortunately, not every JS package has definitions ...
Read more >Changes to How We Manage DefinitelyTyped - TypeScript
Definitely Typed is now allowing contributors to self-merge their pull requests after a reviewer has accepted their changes.
Read more >@types/lodash - npm
This package contains type definitions for Lo-Dash (https://lodash.com). Details. Files were exported from https://github.com/DefinitelyTyped/ ...
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 Free
Top 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
There are no postcss types on DefinitelyTyped; therefore, no
@types/postcss
package on npm, “because” thepostcss
package supplies them out-of-the-box; thus, there is no need. This is the golden path so I’m pretty happy about it.What I’m saying is that if someone noticed something missing from
postcss#postcss.d.ts
, all they would need to do is submit a PR to this repo to update them. Problem solved.OK, let’s keep them inside if we have no good solution right now.
BTW, one file difintion is very good change 😃.