Skip to content

Commit d405fe2

Browse files
authored
Merge pull request #214 from wpyoga/vscode-error-fix
fix test: specify array type
2 parents 097d257 + cccbf73 commit d405fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/primitive_parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function primitiveParserTests(
117117

118118
describe("Bit field parsers", () => {
119119
function binaryLiteral(s: string): Uint8Array {
120-
const bytes = [];
120+
const bytes = Array<number>();
121121

122122
s = s.replace(/\s/g, "");
123123
deepStrictEqual(s.length % 8, 0);

0 commit comments

Comments
 (0)