@@ -1519,13 +1519,13 @@ namespace ts {
15191519 function addOldTypeMetadata ( node : Declaration , decoratorExpressions : Expression [ ] ) {
15201520 if ( compilerOptions . emitDecoratorMetadata ) {
15211521 if ( shouldAddTypeMetadata ( node ) ) {
1522- decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:type" , serializeTypeOfNode ( node ) ) ) ;
1522+ decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:type" , serializeTypeOfNode ( node ) ) ) ;
15231523 }
15241524 if ( shouldAddParamTypesMetadata ( node ) ) {
1525- decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:paramtypes" , serializeParameterTypesOfNode ( node ) ) ) ;
1525+ decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:paramtypes" , serializeParameterTypesOfNode ( node ) ) ) ;
15261526 }
15271527 if ( shouldAddReturnTypeMetadata ( node ) ) {
1528- decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:returntype" , serializeReturnTypeOfNode ( node ) ) ) ;
1528+ decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:returntype" , serializeReturnTypeOfNode ( node ) ) ) ;
15291529 }
15301530 }
15311531 }
@@ -1543,7 +1543,7 @@ namespace ts {
15431543 ( properties || ( properties = [ ] ) ) . push ( createPropertyAssignment ( "returnType" , createArrowFunction ( /*modifiers*/ undefined , /*typeParameters*/ undefined , [ ] , /*type*/ undefined , /*equalsGreaterThanToken*/ undefined , serializeReturnTypeOfNode ( node ) ) ) ) ;
15441544 }
15451545 if ( properties ) {
1546- decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:typeinfo" , createObjectLiteral ( properties , /*location*/ undefined , /*multiLine*/ true ) ) ) ;
1546+ decoratorExpressions . push ( createMetadataHelper ( currentSourceFileTslib , "design:typeinfo" , createObjectLiteral ( properties , /*location*/ undefined , /*multiLine*/ true ) ) ) ;
15471547 }
15481548 }
15491549 }
0 commit comments