Skip to content

Commit

Permalink
chore(types): some minor fixes for new typings
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Dec 21, 2016
1 parent 4a322e3 commit cc7215c
Show file tree
Hide file tree
Showing 15 changed files with 386 additions and 92 deletions.
2 changes: 1 addition & 1 deletion dist/MeteorObservable.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="@types/meteor" />
/// <reference types="meteor" />
import { Observable } from 'rxjs';
/**
* This is a class with static methods that wrap Meteor's API and return RxJS
Expand Down
3 changes: 2 additions & 1 deletion dist/MeteorObservable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/MeteorObservable.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/ObservableCollection.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="chai" />
/// <reference types="@types/meteor" />
/// <reference types="meteor" />
import { Observable } from 'rxjs';
import { ObservableCursor } from './ObservableCursor';
import Selector = Mongo.Selector;
Expand Down
2 changes: 1 addition & 1 deletion dist/ObservableCollection.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/ObservableCursor.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="@types/meteor" />
/// <reference types="meteor" />
import { Observable } from 'rxjs';
export declare class ObservableCursor<T> extends Observable<T[]> {
private _zone;
Expand Down Expand Up @@ -57,14 +57,14 @@ export declare class ObservableCursor<T> extends Observable<T[]> {
* @param {Mongo.ObserveCallbacks} callbacks - The callbacks object.
* @return {Meteor.LiveQueryHandle} The array with the matching documents.
*/
observe(callbacks: Mongo.ObserveCallbacks): Meteor.LiveQueryHandle;
observe(callbacks: Object): Meteor.LiveQueryHandle;
/**
* Watch a query. Receive callbacks as the result set changes.
* Only the differences between the old and new documents are passed to the callbacks.
* @param {Mongo.ObserveChangesCallbacks} callbacks - The callbacks object.
* @return {Meteor.LiveQueryHandle} The array with the matching documents.
*/
observeChanges(callbacks: Mongo.ObserveChangesCallbacks): Meteor.LiveQueryHandle;
observeChanges(callbacks: Object): Meteor.LiveQueryHandle;
_runComplete(): void;
_runNext(data: Array<T>): void;
_addedAt(doc: any, at: any, before: any): void;
Expand Down
23 changes: 12 additions & 11 deletions dist/ObservableCursor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cc7215c

Please sign in to comment.