feat(lib/discord/ui/settings): type StaticSettingsItem
This commit is contained in:
parent
9c6ad05e2b
commit
b0b80fdc0d
1 changed files with 5 additions and 1 deletions
|
|
@ -88,4 +88,8 @@ export interface RouteSettingsItem extends BaseSettingsItem {
|
|||
screen: { route: string; getComponent(): ComponentType }
|
||||
}
|
||||
|
||||
export type SettingsItem = PressableSettingsItem | ToggleSettingsItem | RouteSettingsItem
|
||||
export interface StaticSettingsItem extends BaseSettingsItem {
|
||||
type: 'static'
|
||||
}
|
||||
|
||||
export type SettingsItem = PressableSettingsItem | ToggleSettingsItem | RouteSettingsItem | StaticSettingsItem
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue