@rbxts/types 1.0.819 → 1.0.821
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.
- package/include/generated/None.d.ts +0 -34
- package/include/roblox.d.ts +2 -0
- package/package.json +1 -1
|
@@ -141,7 +141,6 @@ interface Services {
|
|
|
141
141
|
ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
|
|
142
142
|
ScriptCommitService: ScriptCommitService;
|
|
143
143
|
ScriptContext: ScriptContext;
|
|
144
|
-
ScriptEditorService: ScriptEditorService;
|
|
145
144
|
ScriptProfilerService: ScriptProfilerService;
|
|
146
145
|
ScriptRegistrationService: ScriptRegistrationService;
|
|
147
146
|
SelectionHighlightManager: SelectionHighlightManager;
|
|
@@ -605,7 +604,6 @@ interface Instances extends Services, CreatableInstances {
|
|
|
605
604
|
RootImportData: RootImportData;
|
|
606
605
|
ScreenshotHud: ScreenshotHud;
|
|
607
606
|
ScriptBuilder: ScriptBuilder;
|
|
608
|
-
ScriptDocument: ScriptDocument;
|
|
609
607
|
ScriptRuntime: ScriptRuntime;
|
|
610
608
|
SelectionLasso: SelectionLasso;
|
|
611
609
|
SensorBase: SensorBase;
|
|
@@ -31520,38 +31518,6 @@ interface ScriptContext extends Instance {
|
|
|
31520
31518
|
*/
|
|
31521
31519
|
readonly Error: RBXScriptSignal<(message: string, stackTrace: string, script?: LuaSourceContainer) => void>;
|
|
31522
31520
|
}
|
|
31523
|
-
/**
|
|
31524
|
-
* - **Tags**: NotCreatable, NotReplicated
|
|
31525
|
-
*
|
|
31526
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptDocument)
|
|
31527
|
-
*/
|
|
31528
|
-
interface ScriptDocument extends Instance {
|
|
31529
|
-
/**
|
|
31530
|
-
* **DO NOT USE!**
|
|
31531
|
-
*
|
|
31532
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31533
|
-
* @hidden
|
|
31534
|
-
* @deprecated
|
|
31535
|
-
*/
|
|
31536
|
-
readonly _nominal_ScriptDocument: unique symbol;
|
|
31537
|
-
}
|
|
31538
|
-
/**
|
|
31539
|
-
* This service is used for interacting with `ScriptDocument` instances.
|
|
31540
|
-
*
|
|
31541
|
-
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
31542
|
-
*
|
|
31543
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScriptEditorService)
|
|
31544
|
-
*/
|
|
31545
|
-
interface ScriptEditorService extends Instance {
|
|
31546
|
-
/**
|
|
31547
|
-
* **DO NOT USE!**
|
|
31548
|
-
*
|
|
31549
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
31550
|
-
* @hidden
|
|
31551
|
-
* @deprecated
|
|
31552
|
-
*/
|
|
31553
|
-
readonly _nominal_ScriptEditorService: unique symbol;
|
|
31554
|
-
}
|
|
31555
31521
|
/**
|
|
31556
31522
|
* - **Tags**: NotCreatable, Service
|
|
31557
31523
|
*
|
package/include/roblox.d.ts
CHANGED
|
@@ -1427,6 +1427,8 @@ interface CFrame {
|
|
|
1427
1427
|
ToOrientation(this: CFrame): LuaTuple<[number, number, number]>;
|
|
1428
1428
|
/** Returns a tuple of a Vector3 and a number which represent the rotation of the CFrame in the axis-angle representation */
|
|
1429
1429
|
ToAxisAngle(this: CFrame): LuaTuple<[Vector3, number]>;
|
|
1430
|
+
/** Returns `true` if the other CFrame is sufficiently close to this CFrame in both position and rotation. The `eps` value is used to control the tolerance for this similarity. This value is optional and should be a small positive value if provided. The default value is 0.00001 (1e-5). The similarity for position is component-wise, and for rotation uses a fast approximation of the angle difference. */
|
|
1431
|
+
FuzzyEq(this: CFrame, other: CFrame, epsilon?: number): boolean;
|
|
1430
1432
|
}
|
|
1431
1433
|
|
|
1432
1434
|
interface CFrameConstructor {
|