# All files / core/helpers application-ref-host.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 2/2
100% Lines 3/3

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14

    1x

    1x

    1x

     import { HttpServer } from '@nestjs/common';

    export class ApplicationReferenceHost {
      private _applicationRef: HttpServer | any;

      set applicationRef(applicationRef: any) {
        this._applicationRef = applicationRef;
      }

      get applicationRef(): HttpServer | any {
        return this._applicationRef;
      }
    }