Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions include/roblox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,24 @@ interface FontConstructor {
}
declare const Font: FontConstructor;

// InstanceHandle
interface InstanceHandle {
/**
* **DO NOT USE!**
*
* This field exists to force TypeScript to recognize this as a nominal type
* @hidden
* @deprecated
*/
readonly _nominal_InstanceHandle: unique symbol;
Get(this: InstanceHandle): Instance | undefined;
Wait(this: InstanceHandle, timeout: number): Instance | undefined;
}
interface InstanceHandleConstructor {
new (instance: Instance?): InstanceHandle;
Comment thread
DiscontentDino marked this conversation as resolved.
}
declare const InstanceHandle: InstanceHandleConstructor;

// NumberRange
interface NumberRange {
/**
Expand Down Expand Up @@ -3203,6 +3221,7 @@ interface CheckableTypes extends CheckablePrimitives {
FloatCurveKey: FloatCurveKey;
Font: Font;
Instance: Instance;
InstanceHandle: InstanceHandle;
NumberRange: NumberRange;
NumberSequence: NumberSequence;
NumberSequenceKeypoint: NumberSequenceKeypoint;
Expand Down Expand Up @@ -3245,6 +3264,7 @@ type AttributeValue =
| Vector2
| Vector3
| CFrame
| InstanceHandle
Comment thread
DiscontentDino marked this conversation as resolved.
| NumberSequence
| ColorSequence
| NumberRange
Expand Down
Loading