| 45 | |
| 46 | it('supports path parameters declared via interface', () => { |
| 47 | interface PostPathParameters { |
| 48 | id: string |
| 49 | } |
| 50 | http.get<PostPathParameters>('/user/:id', ({ params }) => { |
| 51 | expectTypeOf(params).toEqualTypeOf<PostPathParameters>() |
| 52 | }) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…