@forge/api

7.2.2-experimental-04cc2b98.0.0-next.0
out/index.d.ts
~out/index.d.tsModified
+7−7
Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -26,13 +26,13 @@
     status: number;
     statusText: string;
     headers: Headers;
 }
-export type APIResponse = Response;
-export type FetchMethod = (url: string, init?: RequestInit) => Promise<APIResponse>;
-export type FetchMethodAllowingRoute = (url: string | Route, init?: RequestInit) => Promise<APIResponse>;
-export type RequestProductMethod = (url: Route, init?: RequestInit) => Promise<APIResponse>;
-export type FetchOptions = RequestInit;
+export declare type APIResponse = Response;
+export declare type FetchMethod = (url: string, init?: RequestInit) => Promise<APIResponse>;
+export declare type FetchMethodAllowingRoute = (url: string | Route, init?: RequestInit) => Promise<APIResponse>;
+export declare type RequestProductMethod = (url: Route, init?: RequestInit) => Promise<APIResponse>;
+export declare type FetchOptions = RequestInit;
 export interface RequestProductMethods {
     requestJira: RequestProductMethod;
     requestConfluence: RequestProductMethod;
     requestBitbucket: RequestProductMethod;
@@ -68,10 +68,10 @@
 }
 export interface ExternalAuthFetchMethodsProvider {
     withProvider: (provider: string, remoteName?: string, tokenId?: string) => ExternalAuthFetchMethods;
 }
-type AsUserFetchMethods = RequestProductMethods & GraphQLFetchMethods & ConnectedDataFetchMethods & ExternalAuthFetchMethodsProvider & RequestAtlassianMethods & TeamworkGraphFetchMethods;
-type AsAppFetchMethods = RequestProductMethods & GraphQLFetchMethods & ConnectedDataFetchMethods & RequestAtlassianMethods;
+declare type AsUserFetchMethods = RequestProductMethods & GraphQLFetchMethods & ConnectedDataFetchMethods & ExternalAuthFetchMethodsProvider & RequestAtlassianMethods & TeamworkGraphFetchMethods;
+declare type AsAppFetchMethods = RequestProductMethods & GraphQLFetchMethods & ConnectedDataFetchMethods & RequestAtlassianMethods;
 export interface FetchAPI extends RequestProductMethods {
     asUser(userId?: string): AsUserFetchMethods;
     asApp(): AsAppFetchMethods;
     fetch: FetchMethodAllowingRoute;