Skip to content

Commit daed1f4

Browse files
committed
Remove return types
Signed-off-by: Ryan Luu <ryan.luu@ryanluu.dev>
1 parent 6b16b76 commit daed1f4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Components/Backpack.luau

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ local React = require("../../react")
44

55
local Slot = require("../Components/Slot")
66

7-
-- TODO: Update to use proper types when React Luau is on Wally.
8-
local function BackpackFrame(): React.ReactElement<any>
7+
local function BackpackFrame()
98
return React.createElement("Frame", {
109
[React.Tag] = "Backpack",
1110
}, {

src/Components/Slot.luau

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ export type Props = {
1212
unlocked: boolean?,
1313
}
1414

15-
-- TODO: Update to use proper types when React Luau is on Wally.
16-
local function SlotButton(props: Props): React.ReactElement<any>
15+
local function SlotButton(props: Props)
1716
local tags = "Slot"
1817
if props.unlocked then
1918
tags = tags .. " Unlocked"

0 commit comments

Comments
 (0)