aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Schema.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-04-29 23:00:22 -0400
committerbobzel <zzzman@gmail.com>2024-04-29 23:00:22 -0400
commitf6a741f38a33bdb30b3a1d88215656dcd3d0712d (patch)
treedf88320222c743d26f2b1341c1489671277baec9 /src/fields/Schema.ts
parentab873e90112f2cac204a57a1b405cc241f7e8381 (diff)
eslint fixes.
Diffstat (limited to 'src/fields/Schema.ts')
-rw-r--r--src/fields/Schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Schema.ts b/src/fields/Schema.ts
index 7217bec37..89e5cda8d 100644
--- a/src/fields/Schema.ts
+++ b/src/fields/Schema.ts
@@ -53,7 +53,7 @@ export function makeInterface<T extends Interface[]>(...schemas: T): InterfaceFu
if (doc instanceof Doc) {
return desc(doc);
}
- return doc.then(doc => doc && desc(doc));
+ return doc.then(d => d && desc(d));
}
return Cast(field, desc);
}