Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

ETA on TypeScript's type definitions? :) #1840

Closed
iam3yal opened this issue Dec 30, 2017 · 8 comments
Closed

ETA on TypeScript's type definitions? :) #1840

iam3yal opened this issue Dec 30, 2017 · 8 comments

Comments

@iam3yal
Copy link

iam3yal commented Dec 30, 2017

Just a quick question and sorry if this is the wrong place to ask this but I read the following in the docs:

We plan on creating Type Definitions for our adapters in the future so that TypeScript users can validate that their interface conforms correctly to the adapter's specification.

I wonder whether there's any ETA on this or progress made as I'm currently investigating technologies for a new website and I really like the philosophy behind MDC-Web and it would be really awesome to have type definitions, it wouldn't be a blocker for me though.

@acdvorak
Copy link
Contributor

acdvorak commented Jan 4, 2018

I wish we could provide an ETA, but unfortunately we only have enough bandwidth to add Closure annotations (which Google uses internally) right now 🙁

That said, anyone from the community is more than welcome to create and maintain a set of definitions in DefinitelyTyped 🙂

@iam3yal
Copy link
Author

iam3yal commented Jan 5, 2018

@acdvorak I'll see what I can do about that once I'll start, thank you. :)

@BrentDouglas
Copy link

@acdvorak The DefinitelyTyped folk just merged DefinitelyTyped/DefinitelyTyped#23179 which should resolve this issue. The types are based on v0.26.0 but should be a good starting point for anyone wanting to update them to the current version. I skimmed 0.29 and not much looked different.

@iam3yal iam3yal closed this as completed Feb 5, 2018
@pspeter3
Copy link

pspeter3 commented Jun 8, 2018

@BrentDouglas do you believe it would be possible to automate this process at all? It seems like the documentation has up to date information and could be converted

@ciriousjoker
Copy link

ciriousjoker commented Oct 6, 2018

How can this be closed when the DefinitelyTyped definitions are (by definition pretty much) always behind the schedule?

@iam3yal iam3yal reopened this Oct 6, 2018
@iam3yal
Copy link
Author

iam3yal commented Oct 7, 2018

@ciriousjoker, @pspeter3 I've reopened the issue.

@iam3yal iam3yal closed this as completed Oct 7, 2018
@iam3yal iam3yal reopened this Oct 7, 2018
@fjorgemota
Copy link

fjorgemota commented Apr 2, 2019

I think this can be closed now that #4225 is closed too (and all the built packages have correct type definitions AND types field on package.json), right?

@kfranqueiro
Copy link
Contributor

Yup, that's correct. Thanks for pointing it out!

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

7 participants