add return types

This commit is contained in:
LenAnderson 2024-04-25 18:51:12 -04:00
parent a9e9bf8aac
commit 8afc480fad
1 changed files with 6 additions and 0 deletions

View File

@ -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`);
}