@rbxts/app-forge 0.3.4 → 0.3.5
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 +2 -1
- package/out/decorator.luau +1 -1
- package/package.json +1 -1
package/out/decorator.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ export declare function App(props: Types.AppRegistryProps): <T extends new (prop
|
|
|
6
6
|
export declare abstract class Args {
|
|
7
7
|
readonly forge: AppForge;
|
|
8
8
|
readonly props: Types.ClassProps;
|
|
9
|
-
readonly bind: React.Binding<boolean>;
|
|
10
9
|
readonly name: AppNames[number];
|
|
10
|
+
readonly bind: React.Binding<boolean>;
|
|
11
|
+
readonly state: Boolean;
|
|
11
12
|
constructor(props: Types.NameProps & Types.MainProps);
|
|
12
13
|
abstract render(): JSX.Element;
|
|
13
14
|
}
|
package/out/decorator.luau
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
-- Compiled with roblox-ts v3.0.0
|
|
2
2
|
local TS = _G[script]
|
|
3
|
-
-- Services
|
|
4
3
|
-- Packages
|
|
5
4
|
local usePx = TS.import(script, TS.getModule(script, "@rbxts", "loners-pretty-react-hooks").out).usePx
|
|
6
5
|
-- Types
|
|
@@ -40,6 +39,7 @@ do
|
|
|
40
39
|
self.props = _object
|
|
41
40
|
self.name = name
|
|
42
41
|
self.bind = forge:getBind(name)
|
|
42
|
+
self.state = self.bind:getValue()
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
return {
|