Skip to content

Commit e92afef

Browse files
authored
Merge pull request #224 from mohd-akram/fix-typos
Fix typos
2 parents 9157ea2 + 41d16d2 commit e92afef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/binary_parser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ export class Parser {
638638
!aliasRegistry.has(options.type) &&
639639
!(options.type in PRIMITIVE_SIZES)
640640
) {
641-
throw new Error(`Array element type "${options.type}" is unkown.`);
641+
throw new Error(`Array element type "${options.type}" is unknown.`);
642642
}
643643

644644
return this.setNextParser("array", varName, options);
@@ -675,7 +675,7 @@ export class Parser {
675675
!aliasRegistry.has(value) &&
676676
!((value as string) in PRIMITIVE_SIZES)
677677
) {
678-
throw new Error(`Choice type "${value}" is unkown.`);
678+
throw new Error(`Choice type "${value}" is unknown.`);
679679
}
680680
}
681681

@@ -719,7 +719,7 @@ export class Parser {
719719
!(options.type in PRIMITIVE_SIZES) &&
720720
!aliasRegistry.has(options.type)
721721
) {
722-
throw new Error(`Pointer type "${options.type}" is unkown.`);
722+
throw new Error(`Pointer type "${options.type}" is unknown.`);
723723
}
724724

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

0 commit comments

Comments
 (0)