Skip to content

Commit

Permalink
Update RefObject type (#424)
Browse files Browse the repository at this point in the history
Small update to RefObject. Should be backwards compatible with a default
of any.
  • Loading branch information
RoFlection Bot committed Feb 13, 2025
1 parent 9185980 commit 6254ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/shared/src/ReactTypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export type ReactPortal = {
-- ROBLOX deviation END
}

export type RefObject = { current: any }
export type RefObject<T = any> = { current: T }

-- ROBLOX deviation START: No Luau support for numeric literal types
-- export type EventPriority = 0 | 1 | 2;
Expand Down
2 changes: 1 addition & 1 deletion rotriever.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
version = "17.1.13"
version = "17.1.14"
members = ["modules/*"]
authors = [
"Paul Doyle <[email protected]>",
Expand Down

0 comments on commit 6254ca9

Please sign in to comment.