Skip to content

Commit

Permalink
removes unused type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kezike committed Apr 3, 2024
1 parent de4b838 commit c2ff024
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/credential-status-manager-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ export interface DatabaseConnectionOptions {
[x: string]: any;
}

// Type definition for executeTransaction method input
type ExecuteTransactionFunction = (options?: DatabaseConnectionOptions) => Promise<any>;

// Type definition for BaseCredentialStatusManager constructor method input
export interface BaseCredentialStatusManagerOptions {
statusCredentialSiteOrigin: string;
Expand Down Expand Up @@ -900,7 +897,7 @@ export abstract class BaseCredentialStatusManager {
/**
* Executes function as transaction
*
* @param {ExecuteTransactionFunction} [func] - Function to execute as transaction.
* @param {Function} [func] - Function to execute as transaction.
* This function accepts database connection options.
*
* @returns {Promise<any>} Resolves to the return value and performs the side effects of func.
Expand Down

0 comments on commit c2ff024

Please sign in to comment.