import { Component, Input, ChangeDetectionStrategy } from '@angular/core'; import { RendererConfig } from "../../../metamodel/model"; interface DetailConfig extends RendererConfig { display: string; blank: boolean; } @Component({ selector: 'app-detail', templateUrl: 'detail.component.html', changeDetection: ChangeDetectionStrategy.OnPush }) export class DetailComponent { @Input() value: string | number; @Input() datasetName: string; @Input() config: DetailConfig; }