Skip to content

Instantly share code, notes, and snippets.

@cartant
Last active May 12, 2018 01:53
Show Gist options
  • Select an option

  • Save cartant/d84d1be6bdb212f69d59e100609c2a4c to your computer and use it in GitHub Desktop.

Select an option

Save cartant/d84d1be6bdb212f69d59e100609c2a4c to your computer and use it in GitHub Desktop.
import { Observable, OperatorFunction } from "rxjs";
/* ... */
interface Collection {
traverse(): Observable<Document>;
traverse<R>(operator: OperatorFunction<Document, R>): Observable<R>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment