@rbxts/humanoid-stat-manager 1.0.28 → 1.0.30
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/index.d.ts +2 -6
- package/out/init.luau +10 -8
- package/package.json +1 -1
package/out/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const _default: {
|
|
4
|
-
HumanoidStatManagerServer: typeof import("./server") | typeof HumanoidStatManagerServer;
|
|
5
|
-
HumanoidStatManagerClient: typeof import("./client") | typeof HumanoidStatManagerClient;
|
|
6
|
-
};
|
|
1
|
+
type MergedExports = typeof import('./server') & typeof import('./client');
|
|
2
|
+
declare const _default: MergedExports;
|
|
7
3
|
export = _default;
|
package/out/init.luau
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
-- Compiled with roblox-ts v3.0.0
|
|
2
2
|
local TS = _G[script]
|
|
3
3
|
local RunService = game:GetService("RunService")
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
local _object = table.clone((if RunService:IsServer() then TS.Promise.new(function(resolve)
|
|
5
|
+
resolve(TS.import(script, script, "server"))
|
|
6
|
+
end):expect() else {}))
|
|
7
|
+
setmetatable(_object, nil)
|
|
8
|
+
for _k, _v in (if RunService:IsClient() then TS.Promise.new(function(resolve)
|
|
9
|
+
resolve(TS.import(script, script, "client"))
|
|
10
|
+
end):expect() else {}) do
|
|
11
|
+
_object[_k] = _v
|
|
12
|
+
end
|
|
13
|
+
return _object
|