getRequest<Defined in: packages/reddit-helpers/src/lib/reddit.ts:89 A tiny wrapper around Json(safeFetch) that implements fetchBearer to set the proper headers and adds the BaseUrl for the base path.T>(path):Promise<FetchResult<T>>
Type Parameters
T
T extends object
Parameters
path
string
The Reddit Path to fetch
Returns
Promise<FetchResult<T>>
The response to the request