We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c7604 commit 368f08bCopy full SHA for 368f08b
src/types/ObjectType.ts
@@ -36,11 +36,6 @@ export default class ObjectType<T extends {}> extends Type<T> {
36
this.exact = exact
37
properties.forEach(prop => (prop.__objectType = this))
38
}
39
-
40
- resolveObjectType(): ObjectType<T> {
41
- return this
42
- }
43
44
*errors(
45
validation: Validation,
46
path: IdentifierPath,
src/types/Type.js.flow
@@ -13,6 +13,8 @@ declare class Type<T> {
13
typeName: string;
14
+__type: T;
15
16
+ resolveType(): Type<T>;
17
+
18
errors(
19
20
0 commit comments