@cparra/apex-reflection 2.0.0-alpha.0 → 2.0.1

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.
@@ -225,7 +225,7 @@ describe('Class reflection', () => {
225
225
  expect(result.constructors[0].access_modifier).toBe('public');
226
226
  expect(result.constructors[1].parameters.length).toBe(1);
227
227
  expect(result.constructors[1].parameters[0].name).toBe('var1');
228
- expect(result.constructors[1].parameters[0].type).toBe('String');
228
+ expect(result.constructors[1].parameters[0].typeReference.type).toBe('String');
229
229
  expect(result.constructors[1].access_modifier).toBe('public');
230
230
  });
231
231
 
package/index.d.ts CHANGED
@@ -57,7 +57,6 @@ export interface MapObjectType extends ReferenceObjectType {
57
57
  export interface ParameterMirror {
58
58
  memberModifiers: string[];
59
59
  name: string;
60
- type: string;
61
60
  typeReference: ReferencedType;
62
61
  docComment?: DocComment;
63
62
  }
@@ -66,7 +65,6 @@ export interface MethodMirror {
66
65
  annotations: Annotation[];
67
66
  name: string;
68
67
  memberModifiers: string[];
69
- type: string;
70
68
  typeReference: ReferencedType;
71
69
  parameters: ParameterMirror[];
72
70
  docComment?: DocComment;
@@ -78,7 +76,6 @@ export interface PropertyMirror {
78
76
  name: string;
79
77
  memberModifiers: string[];
80
78
  typeReference: ReferencedType;
81
- type: string;
82
79
  docComment?: DocComment;
83
80
  group?: string;
84
81
  }
@@ -88,7 +85,6 @@ export interface FieldMirror {
88
85
  name: string;
89
86
  memberModifiers: string[];
90
87
  typeReference: ReferencedType;
91
- type: string;
92
88
  docComment?: DocComment;
93
89
  group?: string;
94
90
  }
package/index.ts CHANGED
@@ -75,7 +75,6 @@ export interface MapObjectType extends ReferenceObjectType {
75
75
  export interface ParameterMirror {
76
76
  memberModifiers: string[];
77
77
  name: string;
78
- type: string;
79
78
  typeReference: ReferencedType;
80
79
  docComment?: DocComment;
81
80
  }
@@ -85,7 +84,6 @@ export interface MethodMirror {
85
84
  annotations: Annotation[];
86
85
  name: string;
87
86
  memberModifiers: string[];
88
- type: string;
89
87
  typeReference: ReferencedType;
90
88
  parameters: ParameterMirror[];
91
89
  docComment?: DocComment;
@@ -98,7 +96,6 @@ export interface PropertyMirror {
98
96
  name: string;
99
97
  memberModifiers: string[];
100
98
  typeReference: ReferencedType;
101
- type: string;
102
99
  docComment?: DocComment;
103
100
  group?: string;
104
101
  }
@@ -109,7 +106,6 @@ export interface FieldMirror {
109
106
  name: string;
110
107
  memberModifiers: string[];
111
108
  typeReference: ReferencedType;
112
- type: string;
113
109
  docComment?: DocComment;
114
110
  group?: string;
115
111
  }