This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

ValidationErrors

Defines the map of errors returned from failed validation checks

type ValidationErrors = { [key: string]: any; };
      
      type ValidationErrors = {
    [key: string]: any;
};