Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript support #12870

Closed
mejta opened this issue Dec 14, 2018 · 6 comments
Closed

TypeScript support #12870

mejta opened this issue Dec 14, 2018 · 6 comments
Labels
[Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later

Comments

@mejta
Copy link

mejta commented Dec 14, 2018

Is your feature request related to a problem? Please describe.
I write all my code in TypeScript and I have a problem with missing typing for Gutenberg and wp API. I have to define all typing by myself.

Describe the solution you'd like
It would be great to add typing to the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped)

Describe alternatives you've considered
At the moment I'm creating typings by hand :(

See DefinitelyTyped/DefinitelyTyped#31388

@swissspidy swissspidy added [Type] Question Questions about the design or development of the editor. Needs Technical Feedback Needs testing from a developer perspective. labels Dec 14, 2018
@youknowriad youknowriad added [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later and removed Needs Technical Feedback Needs testing from a developer perspective. [Type] Question Questions about the design or development of the editor. labels Feb 8, 2019
@youknowriad
Copy link
Contributor

To be completely honest, this is very low priority for us. I understand the frustractions, but such definitions requires a good amount of time to maintain and that's not something that has an impact on our roadmap.

@chapterjason
Copy link

@mejta could you share your actual types?

@dsifford
Copy link
Contributor

dsifford commented Apr 9, 2019

@youknowriad
Copy link
Contributor

This was discussed several times. I'm going to close this in favor of #15027 (See the related discussions)

@aduth
Copy link
Member

aduth commented Mar 27, 2020

Note that WordPress NPM packages will now ship with first-party TypeScript types as of the changes in #18942.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later
Projects
None yet
Development

No branches or pull requests

6 participants