feat: initial commit

This commit is contained in:
Richard 2024-02-25 03:41:09 -08:00
commit 18723c1377
50 changed files with 3238 additions and 0 deletions

9
src/modules/Promise.luau Normal file
View file

@ -0,0 +1,9 @@
local Package = script.Parent.Parent
if _G[script] then
return _G[script].Promise
end
assert(Package.Parent:FindFirstChild("Promise"), `Could not find Promise in {Package.Parent:GetFullName()}`)
return require(Package.Parent.Promise)

8
src/modules/React.luau Normal file
View file

@ -0,0 +1,8 @@
local Package = script.Parent.Parent
local Packages = if Package.Parent:FindFirstChild("React")
then Package.Parent
else Package.Parent:FindFirstChild("ReactLua")
type React = typeof(require(Package.Parent.React))
return (if Packages then require(Packages.React) else nil) :: React

View file

@ -0,0 +1,8 @@
local Package = script.Parent.Parent
local Packages = if Package.Parent:FindFirstChild("ReactRoblox")
then Package.Parent
else Package.Parent:FindFirstChild("ReactLua")
type ReactRoblox = typeof(require(Package.Parent.ReactRoblox))
return (if Packages then require(Packages.ReactRoblox) else nil) :: ReactRoblox