mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add return types
This commit is contained in:
@ -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`);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user