import { ChangeDetectionStrategy } from '@angular/core' ; import { ModalDialogParams } from "nativescript-angular" ; import { BaseComponent } from '../../shared/core/index' ; @ BaseComponent ( { selector : 'overview-video' , templateUrl : './components/settings/video.component.html' , changeDetection : ChangeDetectionStrategy . Default } ) export class VideoComponent { constructor ( private params ) { } public close ( ) { this . params . closeCallback ( ) ; } }