u2f
u2f copied to clipboard
Add typescript type definitions
Add type definitions and a test file in typescript to test the compilation.
npm run build
compiles the typescript test file in directory build/ so that you can run it and check everything is working fine.
For you information, I've also written the type definitions for the u2f-api npm package that I use in combination with u2f package in my project (https://www.npmjs.com/package/authelia). I will create a pull request soon for u2f-api.
Hello @ashtuchkin , did you have time to check the PR?
Out of interest: how does the testing of the typings work? You just have included the .ts
file in include
section of tsconfig
and when it compiles it's correct?
Sorry for such a long delay!
Everything should be fixed now. Sorry for the long delay as well :).