import { Pipe , PipeTransform } from '@angular/core' ; @ Pipe ( { name : 'obAcceptAll' } ) export class ObAcceptAllPipe implements PipeTransform { transform ( allowedTypes ) { return ! allowedTypes || ! allowedTypes . length || allowedTypes . includes ( '*' ) ; } }