Subscribe should work also on AngularMeteorObject

This commit is contained in:
sigita42
2015-05-10 15:41:05 +02:00
parent 28666dd8c4
commit 5c11852cd6
+8
View File
@@ -277,6 +277,14 @@ declare module angular.meteor {
* The returned object is then safe to use as a parameter for method calls, or anywhere else where the data needs to be converted to JSON.
*/
getRawObject(): T;
/**
* A shorten (Syntactic sugar) function for the $meteor.subscribe function.
* Takes only one parameter and not returns a promise like $meteor.subscribe does.
*
* @param subscriptionName - The subscription name to subscribe to. Exactly like the first parameter in $meteor.subscribe service.
*/
subscribe(subscriptionName:string): AngularMeteorObject<T>;
}
/**