Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 13, 2025
1 parent bfe0514 commit 92dc287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/object-hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function createHasher(options: HashOptions) {
// @ts-ignore
this[objType](object);
} else if (!options.ignoreUnknown) {
this.unkown(object, objType);
this.unknown(object, objType);
}
} else {
let keys = Object.keys(object);
Expand Down Expand Up @@ -256,7 +256,7 @@ function createHasher(options: HashOptions) {
symbol(sym: any) {
return write("symbol:" + sym.toString());
},
unkown(value: any, type: string) {
unknown(value: any, type: string) {
write(type);
if (!value) {
return;
Expand Down

0 comments on commit 92dc287

Please sign in to comment.