Contributed to open source
Improved TypeScript comments
removed some `// @ts-ignore`
replaced other `// @ts-ignore` with `// @ts-expect-error`
fixed some `// @ts-expect-error`
https://github.com/plasticrake/homebridge-tplink-smarthome/pull/218