Open bsurai opened 7 years ago
Hi @bsurai!
This was mentioned in #502, but I haven't written anything in Typescript so I am not sure what a definition file/package would need to include.
I am in the process of rewriting this plugin using pure JS - see #559. If you would like to help contribute, let me know.
Perhaps, I will have to do it. I will let you know, when I will have result.
@Mottie. I've got some result. Here is .zip with type definition file and example how to use it in typescript. It was enough for me at the moment. typings.zip
Awesome! Thank you for sharing. I'll take a look, but would you be willing to set up a repository for that code with your example? Or would you rather submit a PR, and I'll add you as a contributor so you can help me maintain it?
Ok. I will.
Hi @Mottie. What folder can I use for typescript example?
It is a working example? Either way, you can add it to the docs folder... if it isn't a working example, then add a block showing the code. I can update the index page if you don't want to deal with that part of it.
I have a new working example with some changes.
I did something better. There is public definition with example and instruction. It was checked and accepted by http://definitelytyped.org/. https://www.npmjs.com/package/@types/virtual-keyboard https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/virtual-keyboard
Awesome!
Would you please update the readme:
npm install --save-dev @types/virtual-keyboard
, right?
Hi. I'd like to use virtual-keyboard with typescript. Do you have a typescript definition file/package?