fix(core): distribute externs for testability API (#16179)

Workaround for #11119

PR Close #16179
This commit is contained in:
Alex Eagle
2017-04-19 19:28:21 -07:00
committed by Miško Hevery
parent bfd5f27525
commit da668848c9
4 changed files with 26 additions and 49 deletions

View File

@ -0,0 +1,23 @@
/** @externs */
/** @record @struct */
function PublicTestability() {}
/**
* @return {?}
*/
PublicTestability.prototype.isStable = function() {};
/**
* @param {?} callback
* @return {?}
*/
PublicTestability.prototype.whenStable = function(callback) {};
/**
* @param {?} using
* @param {?} provider
* @param {?} exactMatch
* @return {?}
*/
PublicTestability.prototype.findProviders = function(using, provider, exactMatch) {};