Specify correct types for long and ulong arguments in writer interface

This commit is contained in:
Holly Stubbs 2023-05-02 09:38:23 +01:00 committed by Holly
parent 577a0823a4
commit 32b1340266
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -10,7 +10,7 @@ export interface IWriter {
writeUShort(value:number): IWriter, writeUShort(value:number): IWriter,
writeInt(value:number): IWriter, writeInt(value:number): IWriter,
writeUInt(value:number): IWriter, writeUInt(value:number): IWriter,
writeLong(value:number): IWriter, writeLong(value:number|bigint): IWriter,
writeULong(value:number): IWriter, writeULong(value:number): IWriter,
writeFloat(value:number): IWriter, writeFloat(value:number): IWriter,
writeDouble(value:number): IWriter, writeDouble(value:number): IWriter,