Skip to content

Commit 92dc287

Browse files
committedJan 13, 2025·
chore: fix typo
1 parent bfe0514 commit 92dc287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/object-hash.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function createHasher(options: HashOptions) {
179179
// @ts-ignore
180180
this[objType](object);
181181
} else if (!options.ignoreUnknown) {
182-
this.unkown(object, objType);
182+
this.unknown(object, objType);
183183
}
184184
} else {
185185
let keys = Object.keys(object);
@@ -256,7 +256,7 @@ function createHasher(options: HashOptions) {
256256
symbol(sym: any) {
257257
return write("symbol:" + sym.toString());
258258
},
259-
unkown(value: any, type: string) {
259+
unknown(value: any, type: string) {
260260
write(type);
261261
if (!value) {
262262
return;

0 commit comments

Comments
 (0)
Please sign in to comment.