Skip to content

Commit

Permalink
chore(types): add return value annotation for canInteract
Browse files Browse the repository at this point in the history
  • Loading branch information
DemiAutomatic committed Jun 12, 2024
1 parent 2935490 commit d33101d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __types.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---@class InteractOption
---@field label string
---@field icon string
---@field options InteractOption[]
---@field groups? string | string[] | table<string, number>
---@field items? string | string[] | table<string, number>
---@field anyItem? boolean
---@field remove? boolean
---@field canInteract? fun(id: any, entity?: number, coords: vector3, distance: number): boolean
---@field canInteract? fun(id: any, entity?: number, coords: vector3, distance: number)
---@field onSelect? fun(data: Interaction)
---@field export? string
---@field event? string
Expand Down

0 comments on commit d33101d

Please sign in to comment.