handler.d.ts 279 B

12345678
  1. /**
  2. * Call the API extension
  3. *
  4. * @param endPoint API REST end point for the extension
  5. * @param init Initial values for the request
  6. * @returns The response body interpreted as JSON
  7. */
  8. export declare function requestAPI<T>(endPoint?: string, init?: RequestInit): Promise<T>;