()
| 25 | */ |
| 26 | it('per-key onChange: result.value should match the key value type', () => { |
| 27 | function scenario() { |
| 28 | useSpring({ |
| 29 | x: 0, |
| 30 | onChange: { |
| 31 | // @ts-expect-error known limitation: result.value is `any`, not `number` (#2541) |
| 32 | x: result => expectTypeOf(result.value).toEqualTypeOf<number>(), |
| 33 | }, |
| 34 | }) |
| 35 | } |
| 36 | expectTypeOf(scenario).toBeFunction() |
| 37 | }) |
nothing calls this directly
no test coverage detected
searching dependent graphs…