import {Component} from '@angular/core';

import * as packageJson from '../../package.json';
import {HsUtilsService} from '../utils/utils.service';

@Component({
  selector: 'hs-impressum',
  templateUrl: './partials/impressum.html',
})
export class HsImpressumComponent {
  version = 'dev';
  logo = '';
  logoDisabled = false;
  constructor(public hsUtilsService: HsUtilsService) {
    this.version = packageJson.version;
  }
}

import {Component} from '@angular/core';

import packageJson from '../../package.json';
import {HsUtilsService} from '../utils/utils.service';

@Component({
  selector: 'hs-impressum',
  templateUrl: './partials/impressum.html',
})
export class HsImpressumComponent {
  version = 'dev';
  logo = '';
  logoDisabled = false;
  constructor(public hsUtilsService: HsUtilsService) {
    this.version = packageJson.version;
  }
}

Change how package version is imported
fix: Change how package version is imported
