MCPcopy
hub / github.com/mswjs/msw / PostPathParameters

Interface PostPathParameters

test/typings/http.test-d.ts:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46it('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 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…