chore: bump deps

This commit is contained in:
littensy 2026-06-20 20:45:23 -07:00
parent 63a11cf462
commit d1fa2cce92
3 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ test("should observe items", function()
local updates = {}
local cleanups = {}
observe(items, function(_, key)
observe(items, function(_, key: number)
local get = computed(function()
return items()[key]
end)

View file

@ -16,7 +16,7 @@ local React = require("./React")
local function useSignalState<T>(getter: () -> T, dependencies: {}?): T
local value, setValue = React.useState(getter)
React.useLayoutEffect(function()
React.useLayoutEffect(function(): () -> ()
return Charm.listen(getter, setValue :: (T, T?) -> ())
end, dependencies :: { any } or {})
@ -38,7 +38,7 @@ local function useSignalBinding<T>(getter: () -> T, dependencies: {}?)
local initialValue = React.useMemo(getter, {})
local binding, setBinding = React.useBinding(initialValue)
React.useLayoutEffect(function()
React.useLayoutEffect(function(): () -> ()
return Charm.listen(getter, setBinding :: (T, T?) -> ())
end, dependencies :: { any } or {})

View file

@ -1,6 +1,6 @@
[tools]
wally = "UpliftGames/wally@0.3.2"
rojo = "rojo-rbx/rojo@7.6.1"
stylua = "johnnymorganz/stylua@2.4.1"
luau-lsp = "johnnymorganz/luau-lsp@1.66.1"
stylua = "johnnymorganz/stylua@2.5.2"
luau-lsp = "johnnymorganz/luau-lsp@1.68.1"
lute = "luau-lang/lute@1.0.0"