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.

Move TypeScript definitions to DefinitelyTyped

See original GitHub issue

TypeScript 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:closed
  • Created 7 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
jednanocommented, May 1, 2017

There are no postcss types on DefinitelyTyped; therefore, no @types/postcss package on npm, “because” the postcss 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.

1reaction
aicommented, Jan 9, 2017

OK, let’s keep them inside if we have no good solution right now.

BTW, one file difintion is very good change 😃.

Read more comments on GitHub >

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

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