@rbxts/humanoid-stat-manager 1.0.21 → 1.0.22
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 +4 -5
- package/out/init.luau +10 -12
- package/package.json +1 -1
package/out/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { HumanoidStatManager as HumanoidStatManagerClient } from './client';
|
|
2
|
+
import { HumanoidStatManager as HumanoidStatManagerServer } from './server';
|
|
3
3
|
export declare namespace HumanoidStatManager {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
let Client: typeof HumanoidStatManagerClient;
|
|
5
|
+
let Server: typeof HumanoidStatManagerServer;
|
|
6
6
|
}
|
|
7
|
-
export declare const HumanoidStatManager: typeof import("./server") | typeof import("./client");
|
package/out/init.luau
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
-- Compiled with roblox-ts v3.0.0
|
|
2
2
|
local TS = _G[script]
|
|
3
|
+
local HumanoidStatManagerClient = TS.import(script, script, "client").HumanoidStatManager
|
|
4
|
+
local HumanoidStatManagerServer = TS.import(script, script, "server").HumanoidStatManager
|
|
3
5
|
local RunService = game:GetService("RunService")
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
local
|
|
6
|
+
local HumanoidStatManager = {}
|
|
7
|
+
do
|
|
8
|
+
local _container = HumanoidStatManager
|
|
9
|
+
end
|
|
10
|
+
if RunService:IsClient() then
|
|
11
|
+
HumanoidStatManager.Client = HumanoidStatManagerClient
|
|
12
|
+
end
|
|
7
13
|
if RunService:IsServer() then
|
|
8
|
-
|
|
9
|
-
resolve(TS.import(script, script, "server"))
|
|
10
|
-
end):expect()
|
|
11
|
-
else
|
|
12
|
-
implementation = TS.Promise.new(function(resolve)
|
|
13
|
-
resolve(TS.import(script, script, "client"))
|
|
14
|
-
end):expect()
|
|
14
|
+
HumanoidStatManager.Server = HumanoidStatManagerServer
|
|
15
15
|
end
|
|
16
|
-
-- 3. Export as the same name (Declaration Merging)
|
|
17
|
-
local HumanoidStatManager = implementation
|
|
18
16
|
return {
|
|
19
17
|
HumanoidStatManager = HumanoidStatManager,
|
|
20
18
|
}
|