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

@@ -23,6 +23,7 @@ export class InternalScriptMailMessage implements MessageBase
return (this.DataBlock['From'].length + 1 + this.DataBlock['Subject'].length + 1 + this.DataBlock['Body'].length + 2) + 16;
}
// @ts-ignore
writeToBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;
@@ -41,6 +42,7 @@ export class InternalScriptMailMessage implements MessageBase
return pos - startPos;
}
// @ts-ignore
readFromBuffer(buf: Buffer, pos: number): number
{
const startPos = pos;