@interstellar-tools/types 0.4.0 → 0.6.0
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.
|
@@ -32,14 +32,14 @@ export interface AsteroidBeltInterface {
|
|
|
32
32
|
* @typedef {AsteroidBeltInterface[]} AsteroidBeltsType
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
35
|
-
* const asteroidBelt: AsteroidBeltInterface = {
|
|
35
|
+
* const asteroidBelt: AsteroidBeltInterface = [{
|
|
36
36
|
* name: 'Main Belt',
|
|
37
37
|
* innerRadius: 2.1,
|
|
38
38
|
* outerRadius: 3.3,
|
|
39
39
|
* color: '#888888',
|
|
40
40
|
* opacity: 0.5,
|
|
41
41
|
* density: 100,
|
|
42
|
-
* };
|
|
42
|
+
* }];
|
|
43
43
|
* ```
|
|
44
44
|
* @group Celestial Bodies
|
|
45
45
|
*/
|
|
@@ -70,7 +70,7 @@ export interface CometInterface {
|
|
|
70
70
|
* @typedef {CometInterface[]} CometsType
|
|
71
71
|
* @example
|
|
72
72
|
* ```ts
|
|
73
|
-
* const halley: CometInterface = {
|
|
73
|
+
* const halley: CometInterface = [{
|
|
74
74
|
* name: 'Halley',
|
|
75
75
|
* type: 'periodic comet',
|
|
76
76
|
* category: 'halley-type comet',
|
|
@@ -86,7 +86,7 @@ export interface CometInterface {
|
|
|
86
86
|
* radius: { value: 11, unit: 'km' },
|
|
87
87
|
* color: '#ffffff',
|
|
88
88
|
* size: 1.2
|
|
89
|
-
* };
|
|
89
|
+
* }];
|
|
90
90
|
* ```
|
|
91
91
|
* @group Celestial Bodies
|
|
92
92
|
*/
|
package/package.json
CHANGED