Tighten up typescript rules and fix resulting compilation errors

This commit is contained in:
Casper Warden
2020-12-03 13:55:02 +00:00
parent 6e0d79715e
commit 4431fb8d15
526 changed files with 1579 additions and 920 deletions

View File

@@ -25,6 +25,7 @@ export class ObjectIncludeInSearchMessage implements MessageBase
return ((5) * this.ObjectData.length) + 33;
}
// @ts-ignore
writeToBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;
@@ -43,10 +44,10 @@ export class ObjectIncludeInSearchMessage implements MessageBase
return pos - startPos;
}
// @ts-ignore
readFromBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;
let varLength = 0;
const newObjAgentData: {
AgentID: UUID,
SessionID: UUID