const $refs$ = ["foo"];
// ...
ViewQueryComponent.ɵcmp = $r3$.ɵɵdefineComponent({
  type: ViewQueryComponent,
  selectors: [["view-query-component"]],
  viewQuery: function ViewQueryComponent_Query(rf, ctx) {
    if (rf & 1) {
      $r3$.ɵɵviewQuery(SomeDirective, __QueryFlags.isStatic__|__QueryFlags.descendants__);
      $r3$.ɵɵviewQuery($refs$, 1);
    }
    if (rf & 2) {
      let $tmp$;
      $r3$.ɵɵqueryRefresh($tmp$ = $r3$.ɵɵloadQuery()) && (ctx.someDir = $tmp$.first);
      $r3$.ɵɵqueryRefresh($tmp$ = $r3$.ɵɵloadQuery()) && (ctx.foo = $tmp$.first);
    }
  },
  decls: 1,
  vars: 0,
  consts: [["someDir",""]],
  template:  function ViewQueryComponent_Template(rf, ctx) {
    if (rf & 1) {
      $r3$.ɵɵelement(0, "div", 0);
    }
  },
  directives: function () { return [SomeDirective]; },
  encapsulation: 2
});
