Skip to content

Commit

Permalink
bump tools, address changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoteTheMighty committed Oct 7, 2022
1 parent d5460c4 commit 28a5e83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions foreman.toml
@@ -1,6 +1,6 @@
[tools]
rojo = { source = "rojo-rbx/rojo", version = "7.2.0" }
selene = { source = "Kampfkarren/selene", version = "0.18.1" }
stylua = { source = "JohnnyMorganz/StyLua", version = "0.13.1" }
selene = { source = "Kampfkarren/selene", version = "0.21.1" }
stylua = { source = "JohnnyMorganz/StyLua", version = "0.15.1" }
luau-lsp = { source = "JohnnyMorganz/luau-lsp", version = "*" }
wally = { source = "UpliftGames/wally", version = "0.3.1" }
5 changes: 1 addition & 4 deletions src/makeActionCreator.lua
Expand Up @@ -7,10 +7,7 @@ local actions = require(script.Parent.types.actions)

export type ActionCreator<Type, Action, Args...> = actions.ActionCreator<Type, Action, Args...>

local function makeActionCreator<Type, Action, Args...>(
name: Type,
fn: (Args...) -> Action
): ActionCreator<Type, Action, Args...>
local function makeActionCreator<Type, Action, Args...>(name: Type, fn: (Args...) -> Action): ActionCreator<Type, Action, Args...>
assert(type(name) == "string", "Bad argument #1: Expected a string name for the action creator")

assert(type(fn) == "function", "Bad argument #2: Expected a function that creates action objects")
Expand Down

0 comments on commit 28a5e83

Please sign in to comment.