export class AutoCompleteCommandMock implements Xrm . Controls . AutoCompleteCommand { public id : string ; public icon ? : string ; public label : string ; constructor ( id , label , icon ? , action ? ) { this . id = id ; this . label = label ; this . icon = icon ; this . action = action ; } public action ( ) { throw new Error ( "Action not implemented." ) ; } }