@rbxts/types 1.0.682 → 1.0.684

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.
@@ -24780,7 +24780,13 @@ interface WorldRoot extends Model {
24780
24780
  * If no parts are provided, false is returned.
24781
24781
  */
24782
24782
  ArePartsTouchingOthers(this: WorldRoot, partList: Array<Instance>, overlapIgnored?: number): boolean;
24783
- Blockcast(this: WorldRoot, cframe: CFrame, size: Vector3, direction: Vector3, params?: RaycastParams): RaycastResult;
24783
+ Blockcast(
24784
+ this: WorldRoot,
24785
+ cframe: CFrame,
24786
+ size: Vector3,
24787
+ direction: Vector3,
24788
+ raycastParams?: RaycastParams,
24789
+ ): RaycastResult | undefined;
24784
24790
  /**
24785
24791
  * **Warning!**
24786
24792
  * You should only use this function if you are sure that part movement is a bottleneck in your code, simply setting the CFrame property of the individual parts / welded models you want to move will be fast enough in the vast majority of cases.
@@ -25087,7 +25093,13 @@ interface WorldRoot extends Model {
25087
25093
  direction: Vector3,
25088
25094
  raycastParams?: RaycastParams,
25089
25095
  ): RaycastResult | undefined;
25090
- Spherecast(this: WorldRoot, position: Vector3, radius: number, direction: Vector3, params?: RaycastParams): RaycastResult;
25096
+ Spherecast(
25097
+ this: WorldRoot,
25098
+ position: Vector3,
25099
+ radius: number,
25100
+ direction: Vector3,
25101
+ raycastParams?: RaycastParams,
25102
+ ): RaycastResult | undefined;
25091
25103
  }
25092
25104
 
25093
25105
  /** The Workspace is the service in which any objects that are to be rendered in the 3D world exist. Objects not descending from Workspace will not be rendered or physically interact with the world.
@@ -2216,6 +2216,11 @@ declare function delay(delayTime: number, callback: DelayedCallback): void;
2216
2216
  * @deprecated use os.clock() instead.
2217
2217
  */
2218
2218
  declare function elapsedTime(): number;
2219
+ /**
2220
+ * Returns the total memory heap size in kilobytes.
2221
+ * The number reflects the current heap consumption from the operating system perspective, which fluctuates over time as garbage collector frees objects.
2222
+ */
2223
+ declare function gcinfo(): number;
2219
2224
  /** Runs the supplied ModuleScript if it has not been run already, and returns what the ModuleScript returned (in both cases).
2220
2225
 
2221
2226
  If the ModuleScript the user wants to use has been uploaded to Roblox (with the instance’s name being ‘MainModule’), it can be loaded by using the require function on the asset ID of the ModuleScript, though only on the server. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.682",
3
+ "version": "1.0.684",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },