refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -55,7 +55,6 @@ export function resolveSlashCommandLifecycle(
|
||||
return command.lifecycle
|
||||
}
|
||||
|
||||
/** Retained slash-command discovery with one small completion interface. */
|
||||
export class CommandMenu {
|
||||
readonly root: BoxRenderable
|
||||
private readonly picker: PickerMenu<CommandChoice>
|
||||
|
||||
@@ -29,7 +29,6 @@ interface PickerMenuOptions<T> {
|
||||
onSelect?: (item: T) => void
|
||||
}
|
||||
|
||||
/** Shared retained picker for command discovery and session navigation. */
|
||||
export class PickerMenu<T> {
|
||||
readonly root: BoxRenderable
|
||||
private items: T[] = []
|
||||
|
||||
@@ -23,7 +23,6 @@ function updatedLabel(value: string | null): string {
|
||||
return `${Math.floor(age / 86_400_000)}d`
|
||||
}
|
||||
|
||||
/** Searchable session navigation over the gateway-owned session list. */
|
||||
export class SessionMenu {
|
||||
readonly root: BoxRenderable
|
||||
private readonly picker: PickerMenu<SessionMenuRow>
|
||||
|
||||
Reference in new issue
Block a user