We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e958f commit e85e3d8Copy full SHA for e85e3d8
src/lib/util/Util.ts
@@ -192,7 +192,12 @@ export class Util extends null {
192
.replace(new RegExp(/\w/), s => s.toUpperCase());
193
}
194
195
- // TODO: jsdocs
+ /**
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
+ */
201
static async runInhibitor(
202
ctx: CommandContext | ComponentContext,
203
inhibitor: CommandInhibitor | ComponentInhibitor,
0 commit comments