@forge/auth
1.0.0-next.01.0.0
out/types.d.ts~
out/types.d.tsModified+4−4
Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -1,16 +1,16 @@
-export declare type PermissionCheck = (args?: any) => Promise<boolean | object>;
-export declare type PermissionCheckAPI = Record<string, PermissionCheck | ((args?: any) => PermissionCheckAPI)>;
+export type PermissionCheck = (args?: any) => Promise<boolean | object>;
+export type PermissionCheckAPI = Record<string, PermissionCheck | ((args?: any) => PermissionCheckAPI)>;
export interface RequestOptions {
method: string;
headers?: {
[key: string]: string;
};
body: string;
}
-export declare type RequestFunction<T = any> = (path: string, options: RequestOptions) => Promise<T>;
+export type RequestFunction<T = any> = (path: string, options: RequestOptions) => Promise<T>;
export interface FetchHelper {
requestJira: RequestFunction;
requestConfluence: RequestFunction;
}
-export declare type AuthorizeWithFetchHelper = (fetchHelper: FetchHelper, accountId: string) => PermissionCheckAPI;
+export type AuthorizeWithFetchHelper = (fetchHelper: FetchHelper, accountId: string) => PermissionCheckAPI;
//# sourceMappingURL=types.d.ts.map
\ No newline at end of file