@rbxts/types 1.0.585 → 1.0.588
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/include/generated/None.d.ts +6 -1
- package/include/lua.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13948,7 +13948,12 @@ interface HapticService extends Instance {
|
|
|
13948
13948
|
/**
|
|
13949
13949
|
* Sets the vibration intensity of the specified [UserInputType](https://developer.roblox.com/api-reference/property/InputObject/UserInputType "UserInputType") and [VibrationMotor](https://developer.roblox.com/api-reference/enum/VibrationMotor "VibrationMotor").
|
|
13950
13950
|
*/
|
|
13951
|
-
SetMotor(
|
|
13951
|
+
SetMotor(
|
|
13952
|
+
this: HapticService,
|
|
13953
|
+
inputType: CastsToEnum<Enum.UserInputType>,
|
|
13954
|
+
motor: CastsToEnum<Enum.VibrationMotor>,
|
|
13955
|
+
vibration: number,
|
|
13956
|
+
): void;
|
|
13952
13957
|
}
|
|
13953
13958
|
|
|
13954
13959
|
interface HeightmapImporterService extends Instance {
|
package/include/lua.d.ts
CHANGED
|
@@ -551,7 +551,7 @@ declare namespace math {
|
|
|
551
551
|
function round(n: number): number;
|
|
552
552
|
|
|
553
553
|
/** Returns -1 if `x < 0`, 0 if `x == 0`, or 1 if `x > 0`. */
|
|
554
|
-
function sign(n: number):
|
|
554
|
+
function sign(n: number): -1 | 0 | 1;
|
|
555
555
|
|
|
556
556
|
/** Returns the sine of x (assumed to be in radians). */
|
|
557
557
|
function sin(n: number): number;
|