mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Fixed $setValidity() signature (thanx Basarat)
This commit is contained in:
2
angularjs/angular.d.ts
vendored
2
angularjs/angular.d.ts
vendored
@@ -203,7 +203,7 @@ declare module ng {
|
||||
$error: any;
|
||||
$addControl(control: ng.INgModelController): void;
|
||||
$removeControl(control: ng.INgModelController): void;
|
||||
$setValidity(control: ng.INgModelController): void;
|
||||
$setValidity(validationErrorKey: string, isValid: boolean, control: ng.INgModelController): void;
|
||||
$setDirty(): void;
|
||||
$setPristine(): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user