Skip to content

Commit e85e3d8

Browse files
committed
feat: jsdocs for Util
1 parent 75e958f commit e85e3d8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/lib/util/Util.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ export class Util extends null {
192192
.replace(new RegExp(/\w/), s => s.toUpperCase());
193193
}
194194

195-
// TODO: jsdocs
195+
/**
196+
* The method that runs command or component inhibitor
197+
* @param {CommandContext|ComponentContext} ctx The context to run the inhibitor on
198+
* @param {CommandInhibitor|ComponentInhibitor} inhibitor The inhibitor to run
199+
* @returns
200+
*/
196201
static async runInhibitor(
197202
ctx: CommandContext | ComponentContext,
198203
inhibitor: CommandInhibitor | ComponentInhibitor,

0 commit comments

Comments
 (0)