We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28666dd commit 5c11852Copy full SHA for 5c11852
angular-meteor/angular-meteor.d.ts
@@ -277,6 +277,14 @@ declare module angular.meteor {
277
* 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.
278
*/
279
getRawObject(): T;
280
+
281
+ /**
282
+ * A shorten (Syntactic sugar) function for the $meteor.subscribe function.
283
+ * Takes only one parameter and not returns a promise like $meteor.subscribe does.
284
+ *
285
+ * @param subscriptionName - The subscription name to subscribe to. Exactly like the first parameter in $meteor.subscribe service.
286
+ */
287
+ subscribe(subscriptionName:string): AngularMeteorObject<T>;
288
}
289
290
/**
0 commit comments