Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 198 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 198 Bytes

swr-fetch-client-typescript

A typescript fetch client to use with swr

const { data, error, isLoading } = useSWR('/api/user', fetchClient<YourResponse>('/api/user'));