onScreen icon indicating copy to clipboard operation
onScreen copied to clipboard

Typescript support

Open lundmikkel opened this issue 4 years ago • 4 comments

Could you add Typescript support?

lundmikkel avatar Mar 23 '20 14:03 lundmikkel

What do you mean exactly, having a definition file?

silvestreh avatar Mar 23 '20 18:03 silvestreh

Yes. I currently have to do

const OnScreen = require("onscreen");

And everything is any. npm install @types/onscreen didn't work either.

lundmikkel avatar Mar 24 '20 19:03 lundmikkel

I see… to be completely honest I'm quite tight on free time, but it does sound like a good idea! OnScreen has a small API, so it shouldn't be too hard to add a definition file.

silvestreh avatar Mar 24 '20 19:03 silvestreh

A lot of people must be quitting because they don't have typescript support.

ghost avatar Aug 03 '20 20:08 ghost