From 8afc480fadf36b0bdbabbb1cfa14c3a21fc05421 Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Thu, 25 Apr 2024 18:51:12 -0400 Subject: [PATCH] add return types --- .../slash-commands/SlashCommandAutoCompleteOption.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js b/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js index 58b023f13..1be701ed0 100644 --- a/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js +++ b/public/scripts/slash-commands/SlashCommandAutoCompleteOption.js @@ -178,11 +178,17 @@ export class SlashCommandAutoCompleteOption { } + /** + * @returns {HTMLElement} + */ renderItem() { throw new Error(`${this.constructor.name}.renderItem() is not implemented`); } + /** + * @returns {DocumentFragment} + */ renderDetails() { throw new Error(`${this.constructor.name}.renderDetails() is not implemented`); }