Variable: fetcher()
fetcher: <
T,P,R>(sourceUrl?,defaultParams?) =>PostOrPostsFetchStrategy<T,P,R>
Defined in: packages/next/src/data/hooks/usePostOrPosts.ts:39
Type Parameters
T
T extends PostEntity = PostEntity
P
P extends PostOrPostsParams = PostOrPostsParams
R
R extends PostOrPostsFetchStrategyResult<T> = PostOrPostsFetchStrategyResult<T>
Parameters
sourceUrl?
string
defaultParams?
P
Returns
PostOrPostsFetchStrategy<T, P, R>