import { Directive } from '@angular/core' ; import { ValidationErrors } from '@angular/forms' ; @ Directive ( { selector : '[obSchemaValidation]' , exportAs : 'obSchemaValidation' } ) export class ObMockSchemaValidationDirective { isRequired ( propertyName , path ) { return true ; } validate ( propertyPath , value ) { return null ; } }