Skip to content

Commit 9e3f768

Browse files
committed
fix: address new typescript linting error
Missed this before merging #87 on autopilot (I thought it was green!)
1 parent 3ec2876 commit 9e3f768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pb-decode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ export function decodeNode (bytes) {
142142
const l = bytes.length
143143
let index = 0
144144
/** @type {RawPBLink[]|void} */
145-
let links
145+
let links = undefined // eslint-disable-line no-undef-init
146146
let linksBeforeData = false
147147
/** @type {Uint8Array|void} */
148-
let data
148+
let data = undefined // eslint-disable-line no-undef-init
149149

150150
while (index < l) {
151151
let wireType, fieldNum

0 commit comments

Comments
 (0)