Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
397 stars 76 forks source link

typescript definitions #17

Closed zpdDG4gta8XKpMCd closed 4 years ago

zpdDG4gta8XKpMCd commented 5 years ago

quick googling didn't bring anything

are there typescript definitions of some sort?

if no, any plans to add them?

sparkpunkd commented 5 years ago

No. No typescript definitions yet. I have only recently started working on Typescript-based projects since writing beamcoder. I agree it would be good to add them.

I hope to have a project that needs typescript with beamcoder within a few months so I expect this will happen, but it won't be straight away.

alexandrucancescu commented 4 years ago

I am working on some definitions. You can use already use them:

https://github.com/alexandrucancescu/beamcoder-typings

using npm i -D alexandrucancescu/beamcoder-typings though you might need to go into node_modules/@types and rename beamcoder-typings folder to beamcoder.

When they are finished I will do a pull request to DefinetelyTyped

scriptorian commented 4 years ago

Hi, I have now added typescript definitions for this project. Thanks to alexandrucancescu for getting started on this!