You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
1012 B

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { ElementRef, InjectionToken } from '@angular/core';
/**
* Injection token that can be used to reference instances of `MatError`. It serves as
* alternative token to the actual `MatError` class which could cause unnecessary
* retention of the class and its directive metadata.
*/
import * as ɵngcc0 from '@angular/core';
export declare const MAT_ERROR: InjectionToken<MatError>;
/** Single error message to be shown underneath the form field. */
export declare class MatError {
id: string;
constructor(ariaLive: string, elementRef: ElementRef);
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatError, [{ attribute: "aria-live"; }, null]>;
static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatError, "mat-error", never, { "id": "id"; }, {}, never>;
}
//# sourceMappingURL=error.d.ts.map