message: fix(ivy): ensure factory statements are emitted correctly
  A small bug caused base factory variable statements for to
  not be emitted properly. At the same time as this is fixed, those
  statements are now emitted as const.
  PR Close
diff: @@ -165,7 +165,7 @@ export class ComponentDecoratorHandler implements DecoratorHandler<R3ComponentMe
  return {
  name: 'ngComponentDef',
  initializer: res.expression,
  - statements: [],
  + statements: res.statements,
  type: res.type,
  };
  }
  