HAP-NodeJS
HAP-NodeJS copied to clipboard
node and dependencies
- updated dependencies
- mark as compatible with node 22
fix type error (probably due to typescript update)
> [email protected] build
> rimraf dist && tsc && node .github/node-persist-ignore.js
src/lib/Accessory.ts:2142:34 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
2142 const version = net.isIP(entry); // check if ip address was specified or an interface name
~~~~~
Found 1 error in src/lib/Accessory.ts:2142
Process finished with exit code 2