This commit is contained in:
Tobias Bengfort
2014-07-21 15:33:31 +02:00
parent fe47b495c8
commit 625b9f2523
+1 -1
View File
@@ -141,7 +141,7 @@ module HttpAndRegularPromiseTests {
});
// $q.when may be called without arguments
var ePromise: ng.IPromise<Person> = $q.when();
var ePromise: ng.IPromise<void> = $q.when();
ePromise.then(() => {
$scope.nothing = "really nothing";
});