import { DataFieldType } from 'types' ; export class DataField { public type : DataFieldType ; param title param fieldName param type constructor ( public title , public fieldName , type ) { this . title = title ; this . fieldName = fieldName ; this . type = type . toLowerCase ( ) as DataFieldType ; } }