Skip to content

Commit

Permalink
the best i can make it.. #bikeshedding
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Feb 7, 2024
1 parent d4ca826 commit ab58f40
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions code/lib/cli/src/autoblock/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ export interface Blocker<T> {
/**
* Check if the blocker should block.
*
* @param > The context.
* @returns > Return a truthy value to activate the block, return false to proceed.
* @param context
* @returns A truthy value to activate the block, return false to proceed.
*/
check: (options: AutoblockOptions) => Promise<T | false>;
/**
* Format a message to be printed to the log-file.
* @param > The context.
* @param > The data returned from the check method.
* @returns > The string to print to the terminal.
* @param context
* @param data returned from the check method.
* @returns The string to print to the terminal.
*/
message: (options: AutoblockOptions, data: T) => string;
/**
* Format a message to be printed to the log-file.
* @param > The context.
* @param > The data returned from the check method.
* @returns > The string to print to the log-file.
* @param context
* @param data returned from the check method.
* @returns The string to print to the log-file.
*/
log: (options: AutoblockOptions, data: T) => string;
}
Expand Down

0 comments on commit ab58f40

Please sign in to comment.