Migrate from tslint to eslint (will tighten rules in further commits)

This commit is contained in:
Casper Warden
2021-09-23 17:14:23 +01:00
parent 2c4833baf7
commit bc6ee025cf
121 changed files with 3185 additions and 2863 deletions

View File

@@ -59,7 +59,7 @@ export class IPAddress
this.ip = ipaddr.parse('0.0.0.0');
}
}
writeToBuffer(buf: Buffer, pos: number)
writeToBuffer(buf: Buffer, pos: number): void
{
const bytes: Uint8Array = this.ip.toByteArray();
buf.writeUInt8(bytes[0], pos++);