Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1d5e18b

Browse files
nairb774IgorMinar
authored andcommitted
fix(closure): add missing FormController extern definitions
Closes #5303
1 parent a0ed371 commit 1d5e18b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

closure/angular.js

+33
Original file line numberDiff line numberDiff line change
@@ -1441,6 +1441,11 @@ angular.NgModelController.prototype.$viewValue;
14411441
*/
14421442
angular.FormController = function() {};
14431443

1444+
/**
1445+
* @param {*} control
1446+
*/
1447+
angular.FormController.prototype.$addControl = function(control) {};
1448+
14441449
/**
14451450
* @type {boolean}
14461451
*/
@@ -1456,11 +1461,39 @@ angular.FormController.prototype.$error;
14561461
*/
14571462
angular.FormController.prototype.$invalid;
14581463

1464+
/**
1465+
* @type {string}
1466+
*/
1467+
angular.FormController.prototype.$name;
1468+
14591469
/**
14601470
* @type {boolean}
14611471
*/
14621472
angular.FormController.prototype.$pristine;
14631473

1474+
/**
1475+
* @param {*} control
1476+
*/
1477+
angular.FormController.prototype.$removeControl = function(control) {};
1478+
1479+
/**
1480+
* @type {function()}
1481+
*/
1482+
angular.FormController.prototype.$setDirty = function() {};
1483+
1484+
/**
1485+
* @type {function()}
1486+
*/
1487+
angular.FormController.prototype.$setPristine = function() {};
1488+
1489+
/**
1490+
* @param {string} validationToken
1491+
* @param {boolean} isValid
1492+
* @param {*} control
1493+
*/
1494+
angular.FormController.prototype.$setValidity = function(
1495+
validationToken, isValid, control) {};
1496+
14641497
/**
14651498
* @type {boolean}
14661499
*/

0 commit comments

Comments
 (0)