refactor(array): add generic to class type

This commit is contained in:
Linden
2025-03-10 11:51:48 +11:00
parent 12ef8e542f
commit c9b7c375ee

View File

@@ -1,4 +1,4 @@
---@class Array : OxClass
---@class Array<T> : OxClass, { [number]: T }
lib.array = lib.class('Array')
local table_unpack = table.unpack
@@ -7,7 +7,6 @@ local table_clone = table.clone
local table_concat = table.concat
local table_type = table.type
---@alias ArrayLike<T> Array | { [number]: T }
---@private