Description: ix for recent @types/node
Author: Yadd <yadd@debian.org>
Forwarded: no
Last-Update: 2022-09-18

--- a/packages/pg-protocol/src/buffer-reader.ts
+++ b/packages/pg-protocol/src/buffer-reader.ts
@@ -38,6 +38,7 @@
   }
 
   public string(length: number): string {
+// @ts-ignore
     const result = this.buffer.toString(this.encoding, this.offset, this.offset + length)
     this.offset += length
     return result
@@ -48,6 +49,7 @@
     let end = start
     while (this.buffer[end++] !== 0) {}
     this.offset = end
+// @ts-ignore
     return this.buffer.toString(this.encoding, start, end - 1)
   }
 
