@duet3d/objectmodel 3.5.0-beta.21 → 3.5.0-beta.22
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/dist/ModelSet.d.ts +2 -1
- package/dist/ModelSet.js +2 -0
- package/package.json +1 -1
package/dist/ModelSet.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Wrapper around a standard set to make sure it serializes to an array
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export declare class ModelSet<T> extends Set<T> {
|
|
5
5
|
/**
|
|
6
6
|
* Convert this object to JSON
|
|
7
7
|
* @returns JSON object
|
|
8
8
|
*/
|
|
9
9
|
toJSON(): T[];
|
|
10
10
|
}
|
|
11
|
+
export default ModelSet;
|
package/dist/ModelSet.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModelSet = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* Wrapper around a standard set to make sure it serializes to an array
|
|
5
6
|
*/
|
|
@@ -10,4 +11,5 @@ class ModelSet extends Set {
|
|
|
10
11
|
*/
|
|
11
12
|
toJSON() { return Array.from(this); }
|
|
12
13
|
}
|
|
14
|
+
exports.ModelSet = ModelSet;
|
|
13
15
|
exports.default = ModelSet;
|