We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bda3f4 commit a9caedbCopy full SHA for a9caedb
1 file changed
src/lib/seam/use-seam-query.ts
@@ -3,9 +3,9 @@ import { useQuery, type UseQueryResult } from '@tanstack/react-query'
3
4
import { useSeamClient } from 'lib/seam/use-seam-client.js'
5
6
-type Endpoints = Omit<
+type Endpoints = Pick<
7
SeamHttpEndpoints,
8
- Exclude<keyof SeamHttpEndpoints, `/${string}`>
+ Extract<keyof SeamHttpEndpoints, `/${string}`>
9
>
10
11
export function useSeamQuery<T extends keyof Endpoints>(
0 commit comments