mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-08-13 00:45:11 +09:00
Narrow aabb types and give generic aliases their type argument
The aabb functions all index the named members, so passing the shorthand [MapPosition, MapPosition] form would error at runtime. The annotations now say so. emmylua requires a type argument on a generic alias, luals did not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,7 @@ local min = math.min
|
||||
--- @field trees LuaEntity[]
|
||||
--- @field tree_count number
|
||||
--- @field permission "fast" | "allow" | "disallow"
|
||||
--- @field task Async.AsyncReturn
|
||||
--- @field task Async.AsyncReturn<any>
|
||||
|
||||
local cache --- @type TreeDeconCache?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user