@rbxts/types 1.0.795 → 1.0.797
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/roblox.d.ts +5 -9
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -817,9 +817,7 @@ interface InstanceConstructor {
|
|
|
817
817
|
* - This constructor will not copy any of the descendant `Instances` parented to the existing object.
|
|
818
818
|
* - This constructor will return a new object even if the existing object had `Instance.Archivable` set to `false`.
|
|
819
819
|
*/
|
|
820
|
-
fromExisting: <T extends
|
|
821
|
-
existingInstance: CreatableInstances[T],
|
|
822
|
-
) => CreatableInstances[T];
|
|
820
|
+
fromExisting: <T extends Instance>(existingInstance: T) => T;
|
|
823
821
|
}
|
|
824
822
|
|
|
825
823
|
declare const Instance: InstanceConstructor;
|
|
@@ -3020,12 +3018,10 @@ interface UnbanAsyncConfig {
|
|
|
3020
3018
|
ApplyToUniverse?: boolean;
|
|
3021
3019
|
}
|
|
3022
3020
|
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
[key: number]: number;
|
|
3028
|
-
}
|
|
3021
|
+
/**
|
|
3022
|
+
* Keys are expected to be unique numbers greater than or equal to 0, while values are expected to be numbers between 0 and 1 (inclusive). Tables containing up to 400 key-value pairs are supported.
|
|
3023
|
+
*/
|
|
3024
|
+
type DistanceAttenuationCurve = { [key: number]: number } | Map<number, number>;
|
|
3029
3025
|
|
|
3030
3026
|
interface CalculateConstraintsToPreserveConfig {
|
|
3031
3027
|
/**
|