Skip to content

Commit

Permalink
refactor(rstream): update fromView() & options
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Mar 24, 2020
1 parent 016b5fe commit 7565448
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/rstream/src/from/view.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { View } from "@thi.ng/atom";
import { Stream } from "../stream";
import { optsWithID } from "../utils/idgen";
import type { Path, Predicate2 } from "@thi.ng/api";
import type { ReadonlyAtom, ViewTransform } from "@thi.ng/atom";
import type { Fn, Path, Predicate2 } from "@thi.ng/api";
import type { ReadonlyAtom } from "@thi.ng/atom";
import type { CommonOpts } from "../api";

export interface FromViewOpts<T> extends Partial<CommonOpts> {
path: Path;
tx?: ViewTransform<T>;
tx?: Fn<any, T>;
equiv?: Predicate2<any>;
}

Expand Down

0 comments on commit 7565448

Please sign in to comment.