Deprecate incorrect resolve overload and usage

This commit is contained in:
Nathan Shively-Sanders
2017-06-19 09:30:38 -07:00
parent 18e5e1b05d
commit 37e41d33e4
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -368,7 +368,6 @@ namespace TestQ {
result = $q.resolve<TResult>(tResult);
result = $q.resolve<TResult>(promiseTResult);
let result2: angular.IPromise<TResult | TOther> = $q.resolve<TResult | TOther>(Math.random() > 0.5 ? tResult : promiseTOther);
let result3: angular.IPromise<TResult | TOther | angular.IPromise<TOther>> = $q.resolve(Math.random() > 0.5 ? tResult : promiseTOther);
}
// $q.when