wallix/webauthn

Type declarations

eheikes opened this issue · 3 comments

We're consuming @webauthn/server in a TypeScript-based project. Is there interest in adding and maintaining type declarations (a .d.ts file) for that API in this project, or should we add them to DefinitelyTyped and keep them separate?

Both would be a great addition!
Ideally, it's better to include that in the module itself. Contributions are more than welcome!

How about writing the library in typescript? This avoids the hassle of manually keeping the type declarations in sync and comes with the benefits of writing TypeScript.

How about writing the library in typescript? This avoids the hassle of manually keeping the type declarations in sync and comes with the benefits of writing TypeScript.

Totally agree. The downside is that it adds friction for non-TS developers who want to work on the project, which the maintainers may not want.