(p: SchemaPath<TModel, SchemaPathRules> | CompatSchemaPath<any>)
| 163 | p: SchemaPath<PValue, SchemaPathRules>, |
| 164 | ): [PValue] extends [any] ? ReadonlyFieldState<PValue> : never; |
| 165 | stateOf<TModel>(p: SchemaPath<TModel, SchemaPathRules> | CompatSchemaPath<any>): any { |
| 166 | return this.resolve<TModel>(p as any)(); |
| 167 | } |
| 168 | readonly valueOf = <TValue>(p: SchemaPath<TValue, SchemaPathRules>) => { |
| 169 | const result = this.resolve(p)().value(); |
| 170 |