@rbxts/types 1.0.945 → 1.0.947

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.
@@ -1889,6 +1889,25 @@ interface FontConstructor {
1889
1889
  }
1890
1890
  declare const Font: FontConstructor;
1891
1891
 
1892
+ // InstanceHandle
1893
+ interface InstanceHandle {
1894
+ /**
1895
+ * **DO NOT USE!**
1896
+ *
1897
+ * This field exists to force TypeScript to recognize this as a nominal type
1898
+ * @hidden
1899
+ * @deprecated
1900
+ */
1901
+ readonly _nominal_InstanceHandle: unique symbol;
1902
+ Get(this: InstanceHandle): Instance | undefined;
1903
+ Wait(this: InstanceHandle): Instance;
1904
+ Wait(this: InstanceHandle, timeout: number): Instance | undefined;
1905
+ }
1906
+ interface InstanceHandleConstructor {
1907
+ new (instance: Instance | undefined): InstanceHandle;
1908
+ }
1909
+ declare const InstanceHandle: InstanceHandleConstructor;
1910
+
1892
1911
  // NumberRange
1893
1912
  interface NumberRange {
1894
1913
  /**
@@ -3203,6 +3222,7 @@ interface CheckableTypes extends CheckablePrimitives {
3203
3222
  FloatCurveKey: FloatCurveKey;
3204
3223
  Font: Font;
3205
3224
  Instance: Instance;
3225
+ InstanceHandle: InstanceHandle;
3206
3226
  NumberRange: NumberRange;
3207
3227
  NumberSequence: NumberSequence;
3208
3228
  NumberSequenceKeypoint: NumberSequenceKeypoint;
@@ -3245,11 +3265,13 @@ type AttributeValue =
3245
3265
  | Vector2
3246
3266
  | Vector3
3247
3267
  | CFrame
3268
+ | InstanceHandle
3248
3269
  | NumberSequence
3249
3270
  | ColorSequence
3250
3271
  | NumberRange
3251
3272
  | Rect
3252
3273
  | Font;
3274
+ type SetAttributeValue = AttributeValue | Instance;
3253
3275
 
3254
3276
  declare const enum RobloxEmoji {
3255
3277
  Robux = "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.945",
3
+ "version": "1.0.947",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },