( path: SchemaPath<TValue>, schema: NoInfer<SchemaOrSchemaFn<ItemType<TValue>, PathKind.Item>>, )
| 270 | schema: NoInfer<SchemaOrSchemaFn<ItemType<TValue>, PathKind.Child>>, |
| 271 | ): void; |
| 272 | export function applyEach<TValue extends Object>( |
| 273 | path: SchemaPath<TValue>, |
| 274 | schema: NoInfer<SchemaOrSchemaFn<ItemType<TValue>, PathKind.Item>>, |
| 275 | ): void { |
| 276 | assertPathIsCurrent(path); |
| 277 | |
| 278 | const elementPath = FieldPathNode.unwrapFieldPath(path).getChild(DYNAMIC).fieldPathProxy; |
| 279 | apply(elementPath, schema as Schema<TValue>); |
| 280 | } |
| 281 | |
| 282 | /** |
| 283 | * Applies a predefined schema to a given `FieldPath`. |
searching dependent graphs…