chore: fix typo

This commit is contained in:
Simon Chan 2023-06-04 23:31:01 +08:00
parent 94ae82eef3
commit b263884352
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
10 changed files with 15 additions and 14 deletions

View file

@ -23,7 +23,7 @@ export type AdbPacketHeader = (typeof AdbPacketHeader)["TDeserializeResult"];
type AdbPacketHeaderInit = (typeof AdbPacketHeader)["TInit"];
export const AdbPacket = new Struct({ littleEndian: true })
.fields(AdbPacketHeader)
.concat(AdbPacketHeader)
.uint8Array("payload", { lengthField: "payloadLength" });
export type AdbPacket = (typeof AdbPacket)["TDeserializeResult"];