@rbxts/types 1.0.797 → 1.0.798

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.
@@ -36117,10 +36117,17 @@ interface UIDragDetector extends UIComponent {
36117
36117
  MinDragTranslation: UDim2;
36118
36118
  ReferenceUIInstance: GuiObject | undefined;
36119
36119
  ResponseStyle: Enum.UIDragDetectorResponseStyle;
36120
- AddConstraintFunction(this: UIDragDetector, priority: number, callback: Callback): RBXScriptConnection;
36120
+ AddConstraintFunction(
36121
+ this: UIDragDetector,
36122
+ priority: number,
36123
+ callback: (
36124
+ proposedPosition: UDim2,
36125
+ proposedRotation: number,
36126
+ ) => LuaTuple<[UDim2, number, Enum.UIDragDetectorDragRelativity?, Enum.UIDragDetectorDragSpace?]>,
36127
+ ): RBXScriptConnection;
36121
36128
  GetReferencePosition(this: UIDragDetector): UDim2;
36122
36129
  GetReferenceRotation(this: UIDragDetector): number;
36123
- SetDragStyleFunction(this: UIDragDetector, callback: Callback): void;
36130
+ SetDragStyleFunction(this: UIDragDetector, callback: (inputPosition: UDim2) => UDim2 | void): void;
36124
36131
  readonly DragContinue: RBXScriptSignal<(inputPosition: Vector2) => void>;
36125
36132
  readonly DragEnd: RBXScriptSignal<(inputPosition: Vector2) => void>;
36126
36133
  readonly DragStart: RBXScriptSignal<(inputPosition: Vector2) => void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.797",
3
+ "version": "1.0.798",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },