({index}: FieldContext<unknown, PathKind.Item>)
| 96 | it('index', () => { |
| 97 | const indices: (string | number)[] = []; |
| 98 | const recordIndex = ({index}: FieldContext<unknown, PathKind.Item>) => { |
| 99 | try { |
| 100 | indices.push(index()); |
| 101 | } catch (e) { |
| 102 | indices.push((e as Error).message); |
| 103 | } |
| 104 | return undefined; |
| 105 | }; |
| 106 | const pets = signal({ |
| 107 | cats: [ |
| 108 | {name: 'pirojok-the-cat', age: 5}, |
nothing calls this directly
no test coverage detected
searching dependent graphs…