vast-client-js icon indicating copy to clipboard operation
vast-client-js copied to clipboard

Investigate possibility of adding typescript declaration file without adding typescript package

Open kobawan opened this issue 6 years ago • 5 comments

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.

kobawan avatar Sep 23 '19 13:09 kobawan

Hi @kobawan,

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

stefanullinger avatar Oct 09 '19 03:10 stefanullinger

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

kobawan avatar Oct 09 '19 08:10 kobawan

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

jer-0 avatar Oct 25 '22 02:10 jer-0

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

dsfcoll avatar Dec 15 '23 16:12 dsfcoll