(fn: SchemaFn<TValue>)
| 522 | * @publicApi 22.0 |
| 523 | */ |
| 524 | export function schema<TValue>(fn: SchemaFn<TValue>): Schema<TValue> { |
| 525 | return SchemaImpl.create(fn) as unknown as Schema<TValue>; |
| 526 | } |
| 527 | |
| 528 | function shouldRunAction( |
| 529 | node: FieldNode, |