@rbxts/types 1.0.598 → 1.0.599

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.
@@ -1091,7 +1091,9 @@ interface Instance {
1091
1091
  */
1092
1092
  readonly DescendantRemoving: RBXScriptSignal<(descendant: Instance) => void>;
1093
1093
  /**
1094
- * Fires immediately before the instance is destroyed via [Instance:Destroy](https://developer.roblox.com/en-us/api-reference/function/Instance/Destroy). The [Instance.Parent](https://developer.roblox.com/en-us/api-reference/property/Instance/Parent) property is locked when this event fires and cannot be changed.
1094
+ * The Destroying event fires immediately before the Instance or one of its ancestors is destroyed.
1095
+ *
1096
+ * The Instance will never be deleted from memory while a connected function is still using it. However, if the function yields at any point, the Instance and its descendants will be parented to `nil`.
1095
1097
  */
1096
1098
  readonly Destroying: RBXScriptSignal<() => void>;
1097
1099
  }
@@ -26822,11 +26824,11 @@ interface Players extends Instance {
26822
26824
  * local Players = game:GetService("Players")
26823
26825
  *
26824
26826
  * Players.PlayerAdded:Connect(function(player)
26825
- * print(player.Name + " joined the game!")
26827
+ * print(player.Name .. " joined the game!")
26826
26828
  * end)
26827
26829
  *
26828
26830
  * Players.PlayerRemoving:Connect(function(player)
26829
- * print(player.Name + " left the game!")
26831
+ * print(player.Name .. " left the game!")
26830
26832
  * end)
26831
26833
  *
26832
26834
  * If you want to track when a player's character is added or removed from the game, such as when a player respawns or dies, you can use the [Player.CharacterAdded](https://developer.roblox.com/en-us/api-reference/event/Player/CharacterAdded) and [Player.CharacterRemoving](https://developer.roblox.com/en-us/api-reference/event/Player/CharacterRemoving) functions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.598",
3
+ "version": "1.0.599",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },