Supereg / homebridge-http-switch

Powerful http switch for Homebridge: https://github.com/homebridge/homebridge
ISC License
219 stars 36 forks source link

Migration to TrueScript? #79

Closed mabiste closed 3 years ago

mabiste commented 3 years ago

Hey @Supereg,

I would like to implement further plug-ins as this http-switch plug-in, using your http-notification server. For example, dimmable light bulb.

I've created my first own plug-in based on the example plug-ins from homebridge developer sites. But the examples all are written in TrueScipt, which I can handle. It would be very helpfull for me, if I had a TruScript based example of a plug-in using your http-notification server plug-in.

Thank you Marco

Supereg commented 3 years ago

*TypeScript

Typescript is nothing else than JavaScript with typing (see). Depending on the Typescript "compiler" (its rather a "transpiler") every javascript code is also Typescript code (rather bad typescript code as the javascript code obviously is missing type information and there is some fancy language features with typescript you can easily use).

I'm sorry at the moment I can't provide you with any TypeScript examples.

mabiste commented 3 years ago

OK, thank you...!