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

@@ -22,6 +22,7 @@ export class ScriptRunningReplyMessage implements MessageBase
return 33;
}
// @ts-ignore
writeToBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;
@@ -33,10 +34,10 @@ export class ScriptRunningReplyMessage implements MessageBase
return pos - startPos;
}
// @ts-ignore
readFromBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;
let varLength = 0;
const newObjScript: {
ObjectID: UUID,
ItemID: UUID,