@rbxts/app-forge 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/decorator.d.ts +0 -2
- package/out/decorator.luau +0 -2
- package/out/types.d.ts +0 -1
- package/package.json +1 -1
package/out/decorator.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { usePx } from "@rbxts/loners-pretty-react-hooks";
|
|
|
2
2
|
import React from "@rbxts/react";
|
|
3
3
|
import type Types from "./types";
|
|
4
4
|
import type AppForge from ".";
|
|
5
|
-
import ReactRoblox from "@rbxts/react-roblox";
|
|
6
5
|
export declare const AppRegistry: Map<string, Types.AppRegistry>;
|
|
7
6
|
export declare function App(props: Types.AppRegistryProps): <T extends new (props: Types.MainProps) => Args>(constructor: T) => T;
|
|
8
7
|
export declare abstract class Args {
|
|
@@ -10,7 +9,6 @@ export declare abstract class Args {
|
|
|
10
9
|
readonly props: AppProps & {
|
|
11
10
|
px: ReturnType<typeof usePx>;
|
|
12
11
|
};
|
|
13
|
-
readonly root: ReactRoblox.Root | undefined;
|
|
14
12
|
readonly bind: React.Binding<boolean>;
|
|
15
13
|
readonly name: AppNames[number];
|
|
16
14
|
constructor(props: Types.MainProps);
|
package/out/decorator.luau
CHANGED
|
@@ -26,7 +26,6 @@ do
|
|
|
26
26
|
Args = {}
|
|
27
27
|
function Args:constructor(props)
|
|
28
28
|
local _binding = props
|
|
29
|
-
local root = _binding.root
|
|
30
29
|
local target = _binding.target
|
|
31
30
|
local forge = _binding.forge
|
|
32
31
|
local name = _binding.name
|
|
@@ -35,7 +34,6 @@ do
|
|
|
35
34
|
end
|
|
36
35
|
local px = usePx(target)
|
|
37
36
|
self.Forge = forge
|
|
38
|
-
self.root = root
|
|
39
37
|
local _object = table.clone(props)
|
|
40
38
|
setmetatable(_object, nil)
|
|
41
39
|
_object.px = px
|
package/out/types.d.ts
CHANGED