Skip to content

Commit cc5f5ab

Browse files
committed
fix: typo
1 parent 254a77c commit cc5f5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dereference.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function crawl<S extends object = JSONSchema, O extends ParserOptions<S> = Parse
123123
circular = dereferenced.circular;
124124
// Avoid pointless mutations; breaks frozen objects to no profit
125125
if (obj[key] !== dereferenced.value) {
126-
// If we have properties we want to preserve from our derefernced schema then we need
126+
// If we have properties we want to preserve from our dereferenced schema then we need
127127
// to copy them over to our new object.
128128
const preserved: Map<string, unknown> = new Map();
129129
if (typeof obj[key] === "object" && !Array.isArray(obj[key])) {

0 commit comments

Comments
 (0)