onvif
onvif copied to clipboard
TypeScript declaration
Hi, thanks for this great library. We can add TypeScript declaration to have the type safety cover.
Absolutely @namnm! A PR is welcome 🙂
We already have the jsdoc type system, I think we can use a tool to automatically convert the jsdoc to typescript declaration. Something like: https://github.com/brettle/jsdoc-to-typescript-declaration
@namnm Hi! You can look here and help to translate the old code to the typescript, to refuse declarations. I'm working on it but haven't get much time :cry: https://github.com/agsh/onvif/tree/v1/src