refactor(client): add missing lua typings

This commit is contained in:
Luke
2023-02-17 11:28:53 +01:00
parent 43197b492b
commit e57460c611
2 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
local input
---@class InputDialogRowProps
---@field type 'input' | 'number' | 'checkbox' | 'select' | 'slider'
---@field type 'input' | 'number' | 'checkbox' | 'select' | 'slider' | 'multi-select' | 'date' | 'date-range' | 'time' | 'textarea'
---@field label string
---@field options? { value: string, label: string, default?: string }[]
---@field password? boolean
@@ -14,6 +14,10 @@ local input
---@field min? number
---@field max? number
---@field step? number
---@field autosize? boolean
---@field required? boolean
---@field format? string
---@field clearable? string
---@field description? string
---@class InputDialogOptionsProps