add return types
This commit is contained in:
parent
a9e9bf8aac
commit
8afc480fad
|
@ -178,11 +178,17 @@ export class SlashCommandAutoCompleteOption {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {HTMLElement}
|
||||||
|
*/
|
||||||
renderItem() {
|
renderItem() {
|
||||||
throw new Error(`${this.constructor.name}.renderItem() is not implemented`);
|
throw new Error(`${this.constructor.name}.renderItem() is not implemented`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {DocumentFragment}
|
||||||
|
*/
|
||||||
renderDetails() {
|
renderDetails() {
|
||||||
throw new Error(`${this.constructor.name}.renderDetails() is not implemented`);
|
throw new Error(`${this.constructor.name}.renderDetails() is not implemented`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue