Investigate possibility of adding typescript declaration file without adding typescript package
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.
Hi @kobawan,
sounds great! Found some blog post about this here: https://dev.to/open-wc/generating-typescript-definition-files-from-javascript-5bp2
Ah this is very promising! If you wish to contribute you can make a proof-of-concept and participate in hacktoberfest 🥇
Any news? its almost 2023 😉. DefinitelyTyped not updated to 4.0.0.
The main lib is 5.0.0 version while types so far 3.0.4 😭