mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fixup
This commit is contained in:
1 parent
fe47b495c8
commit
625b9f2523
1 file changed
+1
-1
@@ -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";
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user