Skip to content

Commit 3669fb1

Browse files
committed
Hotfix documentation
1 parent 7023e72 commit 3669fb1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Overture.luau

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const YIELD_WARN_DELAY = 5
3636
@within Overture
3737
@ignore
3838
]=]
39-
const function Retrieve(
39+
local function Retrieve(
4040
InstanceName: string,
4141
InstanceClass: string,
4242
InstanceParent: Instance,
@@ -64,7 +64,7 @@ end
6464
@param Tag -- The CollectionService tag
6565
@param Function -- The function to call
6666
]=]
67-
const function BindToTag(Tag: string, Function: (Instance) -> ()): RBXScriptConnection
67+
local function BindToTag(Tag: string, Function: (Instance) -> ()): RBXScriptConnection
6868
for _, Value in CollectionService:GetTagged(Tag) do
6969
task.spawn(Function, Value)
7070
end
@@ -79,7 +79,7 @@ end
7979
@param Module -- The ModuleScript to require
8080
@param NamedImports -- When provided, returns the named variables instead of the entire ModuleScript
8181
]=]
82-
const function RequireModule(Module: ModuleScript, NamedImports: { string }?): any?
82+
local function RequireModule(Module: ModuleScript, NamedImports: { string }?): any?
8383
if NamedImports then
8484
const Exports = require(Module)
8585
const Imports = {}

0 commit comments

Comments
 (0)