Skip to content

Commit

Permalink
feat: jsdocs for Util
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Apr 30, 2022
1 parent 75e958f commit e85e3d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/util/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,12 @@ export class Util extends null {
.replace(new RegExp(/\w/), s => s.toUpperCase());
}

// TODO: jsdocs
/**
* The method that runs command or component inhibitor
* @param {CommandContext|ComponentContext} ctx The context to run the inhibitor on
* @param {CommandInhibitor|ComponentInhibitor} inhibitor The inhibitor to run
* @returns
*/
static async runInhibitor(
ctx: CommandContext | ComponentContext,
inhibitor: CommandInhibitor | ComponentInhibitor,
Expand Down

0 comments on commit e85e3d8

Please sign in to comment.