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

Investigate possibility of adding typescript declaration file without adding typescript package #325

Open
kobawan opened this issue Sep 23, 2019 · 5 comments

Comments

@kobawan
Copy link
Contributor

kobawan commented Sep 23, 2019

Currently we have types from the vast-client in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vast-client/index.d.ts . Not only are they getting constantly outdated, but there is no versioning (alpha vs stable).
Ideally we could move this file to vast-client-js where we would maintain it frequently, without forcing users to add typescript to their applications. It requires some investigation as to whether that is possible though.

@stefanullinger
Copy link

Hi @kobawan,

sounds great!
Found some blog post about this here: https://dev.to/open-wc/generating-typescript-definition-files-from-javascript-5bp2

@kobawan
Copy link
Contributor Author

kobawan commented Oct 9, 2019

Ah this is very promising! If you wish to contribute you can make a proof-of-concept and participate in hacktoberfest 🥇

@jer-0
Copy link

jer-0 commented Oct 25, 2022

Any news? its almost 2023 😉. DefinitelyTyped not updated to 4.0.0.

@VladStepanov
Copy link

The main lib is 5.0.0 version while types so far 3.0.4 😭

@linhlekim
Copy link

Did anyone find a resolution for this? I'm hitting the same problem, looking to use a method parseVAST, from vastClient.. which doesn't exist in 3.04 lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

7 participants