File tree Expand file tree Collapse file tree 3 files changed +0
-31
lines changed
src/td/models/reflections
test/converter/generic-function Expand file tree Collapse file tree 3 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -4258,12 +4258,6 @@ var td;
42584258 */
42594259 SignatureReflection . prototype . toObject = function ( ) {
42604260 var result = _super . prototype . toObject . call ( this ) ;
4261- if ( this . parameters && this . parameters . length ) {
4262- result . parameters = this . parameters . map ( function ( n ) { return n . toObject ( ) ; } ) ;
4263- }
4264- if ( this . typeParameters && this . typeParameters . length ) {
4265- result . typeParameters = this . typeParameters . map ( function ( n ) { return n . toObject ( ) ; } ) ;
4266- }
42674261 if ( this . type ) {
42684262 result . type = this . type . toObject ( ) ;
42694263 }
Original file line number Diff line number Diff line change @@ -57,14 +57,6 @@ module td
5757 toObject ( ) :any {
5858 var result = super . toObject ( ) ;
5959
60- if ( this . parameters && this . parameters . length ) {
61- result . parameters = this . parameters . map ( ( n ) => n . toObject ( ) ) ;
62- }
63-
64- if ( this . typeParameters && this . typeParameters . length ) {
65- result . typeParameters = this . typeParameters . map ( ( n ) => n . toObject ( ) ) ;
66- }
67-
6860 if ( this . type ) {
6961 result . type = this . type . toObject ( ) ;
7062 }
Original file line number Diff line number Diff line change 6969 }
7070 }
7171 ],
72- "typeParameters" : [
73- {
74- "id" : 4 ,
75- "name" : " T" ,
76- "kind" : 131072 ,
77- "kindString" : " Type parameter" ,
78- "flags" : {},
79- "comment" : {
80- "text" : " Generic function type parameter."
81- },
82- "type" : {
83- "type" : " reference" ,
84- "name" : " Object" ,
85- "symbolID" : 29501
86- }
87- }
88- ],
8972 "type" : {
9073 "type" : " typeParameter" ,
9174 "name" : " T" ,
You can’t perform that action at this time.
0 commit comments