Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekelly881 committed Feb 29, 2024
1 parent b443d2f commit ff86470
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/rx-react/index.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Added in v1.0.0
**Signature**
```ts
export declare const useRxRefresh: <A>(rx: Rx.Rx<A> & Rx.Refreshable) => () => void
export declare const useRxRefresh: <A>(rx: any) => () => void
```
Added in v1.0.0
Expand Down Expand Up @@ -144,7 +144,7 @@ Added in v1.0.0
export declare const useRxSuspense: <A, E>(
rx: Rx.Rx<Result.Result<A, E>>,
options?: { readonly suspendOnWaiting?: boolean }
) => Result.Success<A, E> | Result.Failure<A, E>
) => any
```
Added in v1.0.0
Expand Down
16 changes: 13 additions & 3 deletions docs/rx/Result.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,20 @@ Added in v1.0.0
```ts
export declare const match: {
<A, E, X, Y, Z>(options: MatchOptions<A, E, X, Y, Z>): (self: Result<A, E>) => X | Y | Z
<A, E, X, Y, Z>(self: Result<A, E>, options: MatchOptions<A, E, X, Y, Z>): X | Y | Z
<A, E, X, Y, Z>(options: {
readonly onInitial: (_: Initial<A, E>) => X
readonly onFailure: (_: Failure<A, E>) => Y
readonly onSuccess: (_: Success<A, E>) => Z
}): (self: Result<A, E>) => X | Y | Z
<A, E, X, Y, Z>(
self: Result<A, E>,
options: {
readonly onInitial: (_: Initial<A, E>) => X
readonly onFailure: (_: Failure<A, E>) => Y
readonly onSuccess: (_: Success<A, E>) => Z
}
): X | Y | Z
}
=======
```
Added in v1.0.0
Expand Down

0 comments on commit ff86470

Please sign in to comment.