Closed MaxFichtelmann closed 6 years ago
good point - I will check how this can be corrected
it appears to be fine - TS users will have to include @types/node themselves, but they should have that anyway to write node code with typescript. For plain JS, the unknown Buffer type is translated into any, which is barely noticeable I think.
This adds a typescript declaration file for node-pcsc. This enables better autocompletion in IDEs, especially VS code, even in plain javascript projects.
I am not 100% sure if I have everything right since several properties are defined in c++ code which I am not familiar with.