Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/binary_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ export class Parser {
!aliasRegistry.has(options.type) &&
!(options.type in PRIMITIVE_SIZES)
) {
throw new Error(`Array element type "${options.type}" is unkown.`);
throw new Error(`Array element type "${options.type}" is unknown.`);
}

return this.setNextParser("array", varName, options);
Expand Down Expand Up @@ -675,7 +675,7 @@ export class Parser {
!aliasRegistry.has(value) &&
!((value as string) in PRIMITIVE_SIZES)
) {
throw new Error(`Choice type "${value}" is unkown.`);
throw new Error(`Choice type "${value}" is unknown.`);
}
}

Expand Down Expand Up @@ -719,7 +719,7 @@ export class Parser {
!(options.type in PRIMITIVE_SIZES) &&
!aliasRegistry.has(options.type)
) {
throw new Error(`Pointer type "${options.type}" is unkown.`);
throw new Error(`Pointer type "${options.type}" is unknown.`);
}

return this.setNextParser("pointer", varName, options);
Expand Down