summaryrefslogtreecommitdiff
path: root/script/workspace/scope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/scope.lua')
-rw-r--r--script/workspace/scope.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/script/workspace/scope.lua b/script/workspace/scope.lua
index da72a1eb..a158c8de 100644
--- a/script/workspace/scope.lua
+++ b/script/workspace/scope.lua
@@ -125,8 +125,9 @@ function mt:set(k, v)
return v
end
----@param k string
----@return any
+---@generic T
+---@param k `T`
+---@return T
function mt:get(k)
return self._data[k]
end