APIResolverFn type
Function that resolves a URI to its API resource.
Signature:
type APIResolverFn = (uri: string, options?: {
cache: boolean | number;
}) => Promise<{
data: any;
headers: any;
}>;
Function that resolves a URI to its API resource.
Signature:
type APIResolverFn = (uri: string, options?: {
cache: boolean | number;
}) => Promise<{
data: any;
headers: any;
}>;