Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rxjs peerDependency to ^7.0.0 #67

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"extends": "standard-with-typescript",
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/array-type": [
"error",
{
"default": "generic"
}
],
"quotes": "off",
"@typescript-eslint/quotes": ["error", "single"],
"@typescript-eslint/promise-function-async": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/no-redeclare": "off",
"@typescript-eslint/consistent-type-assertions": "off",
"indent": "off",
"@typescript-eslint/indent": "off",
"guard-for-in": "error",
"id-blacklist": "off",
"id-match": "off",
"no-console": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"spaced-comment": "off",
"space-before-function-paren": "off"
}
}
59 changes: 27 additions & 32 deletions docs/modules/Observable.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ types of kind `* -> *`.
**Signature**

```ts
export declare const alt: <A>(that: () => Observable<A>) => (fa: Observable<A>) => Observable<A>
export declare const alt: <A>(that: () => any) => (fa: any) => any
```

Added in v0.6.0
Expand All @@ -88,7 +88,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const zero: <A>() => Observable<A>
export declare const zero: <A>() => any
```

Added in v0.6.12
Expand All @@ -100,7 +100,7 @@ Added in v0.6.12
**Signature**

```ts
export declare const of: <A>(a: A) => Observable<A>
export declare const of: <A>(a: A) => any
```

Added in v0.6.6
Expand All @@ -114,7 +114,7 @@ Apply a function to an argument under a type constructor.
**Signature**

```ts
export declare const ap: <A>(fa: Observable<A>) => <B>(fab: Observable<(a: A) => B>) => Observable<B>
export declare const ap: <A>(fa: any) => <B>(fab: any) => any
```

Added in v0.6.0
Expand All @@ -126,7 +126,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const compact: <A>(fa: Observable<O.Option<A>>) => Observable<A>
export declare const compact: <A>(fa: any) => any
```

Added in v0.6.0
Expand All @@ -136,7 +136,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const separate: <A, B>(fa: Observable<E.Either<A, B>>) => Separated<Observable<A>, Observable<B>>
export declare const separate: <A, B>(fa: any) => Separated<any, any>
```

Added in v0.6.0
Expand All @@ -149,8 +149,8 @@ Added in v0.6.0

```ts
export declare const filter: {
<A, B extends A>(refinement: Refinement<A, B>): (fa: Observable<A>) => Observable<B>
<A>(predicate: Predicate<A>): (fa: Observable<A>) => Observable<A>
<A, B extends A>(refinement: Refinement<A, B>): (fa: any) => any
<A>(predicate: Predicate<A>): (fa: any) => any
}
```

Expand All @@ -161,7 +161,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const filterMap: <A, B>(f: (a: A) => O.Option<B>) => (fa: Observable<A>) => Observable<B>
export declare const filterMap: <A, B>(f: (a: A) => O.Option<B>) => (fa: any) => any
```

Added in v0.6.0
Expand All @@ -172,8 +172,8 @@ Added in v0.6.0

```ts
export declare const partition: {
<A, B extends A>(refinement: Refinement<A, B>): (fa: Observable<A>) => Separated<Observable<A>, Observable<B>>
<A>(predicate: Predicate<A>): (fa: Observable<A>) => Separated<Observable<A>, Observable<A>>
<A, B extends A>(refinement: Refinement<A, B>): (fa: any) => Separated<any, any>
<A>(predicate: Predicate<A>): (fa: any) => Separated<any, any>
}
```

Expand All @@ -184,9 +184,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const partitionMap: <A, B, C>(
f: (a: A) => E.Either<B, C>
) => (fa: Observable<A>) => Separated<Observable<B>, Observable<C>>
export declare const partitionMap: <A, B, C>(f: (a: A) => E.Either<B, C>) => (fa: any) => Separated<any, any>
```

Added in v0.6.0
Expand All @@ -201,7 +199,7 @@ use the type constructor `F` to represent some computational context.
**Signature**

```ts
export declare const map: <A, B>(f: (a: A) => B) => (fa: Observable<A>) => Observable<B>
export declare const map: <A, B>(f: (a: A) => B) => (fa: any) => any
```

Added in v0.6.0
Expand All @@ -215,7 +213,7 @@ Composes computations in sequence, using the return value of one computation to
**Signature**

```ts
export declare const chain: <A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<B>
export declare const chain: <A, B>(f: (a: A) => any) => (ma: any) => any
```

Added in v0.6.0
Expand All @@ -231,7 +229,7 @@ Derivable from `Apply`.
**Signature**

```ts
export declare const apFirst: <B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<A>
export declare const apFirst: <B>(fb: any) => <A>(fa: any) => any
```

Added in v0.6.0
Expand All @@ -245,7 +243,7 @@ Derivable from `Apply`.
**Signature**

```ts
export declare const apSecond: <B>(fb: Observable<B>) => <A>(fa: Observable<A>) => Observable<B>
export declare const apSecond: <B>(fb: any) => <A>(fa: any) => any
```

Added in v0.6.0
Expand All @@ -260,7 +258,7 @@ Derivable from `Monad`.
**Signature**

```ts
export declare const chainFirst: <A, B>(f: (a: A) => Observable<B>) => (ma: Observable<A>) => Observable<A>
export declare const chainFirst: <A, B>(f: (a: A) => any) => (ma: any) => any
```

Added in v0.6.0
Expand All @@ -272,7 +270,7 @@ Derivable from `Monad`.
**Signature**

```ts
export declare const flatten: <A>(mma: Observable<Observable<A>>) => Observable<A>
export declare const flatten: <A>(mma: any) => any
```

Added in v0.6.0
Expand All @@ -284,7 +282,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const fromIO: <A>(fa: IO<A>) => Observable<A>
export declare const fromIO: <A>(fa: IO<A>) => any
```

Added in v0.6.5
Expand All @@ -294,7 +292,7 @@ Added in v0.6.5
**Signature**

```ts
export declare const fromOption: <A>(o: O.Option<A>) => Observable<A>
export declare const fromOption: <A>(o: O.Option<A>) => any
```

Added in v0.6.5
Expand All @@ -304,7 +302,7 @@ Added in v0.6.5
**Signature**

```ts
export declare const fromTask: <A>(fa: Task<A>) => Observable<A>
export declare const fromTask: <A>(fa: Task<A>) => any
```

Added in v0.6.5
Expand Down Expand Up @@ -446,7 +444,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const getMonoid: <A = never>() => Monoid<Observable<A>>
export declare const getMonoid: <A = never>() => Monoid<any>
```

Added in v0.6.0
Expand All @@ -471,7 +469,7 @@ Added in v0.6.0
**Signature**

```ts
export declare const Do: Observable<{}>
export declare const Do: any
```

Added in v0.6.12
Expand All @@ -481,10 +479,7 @@ Added in v0.6.12
**Signature**

```ts
export declare const bind: <K extends string, A, B>(
name: Exclude<K, keyof A>,
f: (a: A) => Observable<B>
) => (fa: Observable<A>) => Observable<{ [P in K | keyof A]: P extends keyof A ? A[P] : B }>
export declare const bind: <K extends string, A, B>(name: Exclude<K, keyof A>, f: (a: A) => any) => (fa: any) => any
```

Added in v0.6.11
Expand All @@ -494,7 +489,7 @@ Added in v0.6.11
**Signature**

```ts
export declare const bindTo: <K extends string, A>(name: K) => (fa: Observable<A>) => Observable<{ [P in K]: A }>
export declare const bindTo: <K extends string, A>(name: K) => (fa: any) => any
```

Added in v0.6.11
Expand All @@ -504,7 +499,7 @@ Added in v0.6.11
**Signature**

```ts
export declare const toTask: <A>(o: Observable<A>) => Task<A>
export declare const toTask: <A>(o: any) => Task<A>
```

Added in v0.6.5
Expand All @@ -514,7 +509,7 @@ Added in v0.6.5
**Signature**

```ts
export declare const toTaskOption: <A>(o: Observable<A>) => Task<O.Option<A>>
export declare const toTaskOption: <A>(o: any) => Task<O.Option<A>>
```

Added in v0.6.15
16 changes: 8 additions & 8 deletions docs/modules/ObservableEither.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Added in v0.6.8
**Signature**

```ts
export declare const fromObservable: <E, A>(fa: Observable<A>) => ObservableEither<E, A>
export declare const fromObservable: <E, A>(fa: any) => ObservableEither<E, A>
```

Added in v0.6.12
Expand Down Expand Up @@ -354,7 +354,7 @@ Added in v0.6.8
**Signature**

```ts
export declare const leftObservable: <E = never, A = never>(ma: Observable<E>) => ObservableEither<E, A>
export declare const leftObservable: <E = never, A = never>(ma: any) => ObservableEither<E, A>
```

Added in v0.6.8
Expand Down Expand Up @@ -384,7 +384,7 @@ Added in v0.6.8
**Signature**

```ts
export declare const rightObservable: <E = never, A = never>(ma: Observable<A>) => ObservableEither<E, A>
export declare const rightObservable: <E = never, A = never>(ma: any) => ObservableEither<E, A>
```

Added in v0.6.8
Expand All @@ -394,7 +394,7 @@ Added in v0.6.8
**Signature**

```ts
export declare const tryCatch: <A>(a: Observable<A>) => ObservableEither<unknown, A>
export declare const tryCatch: <A>(a: any) => ObservableEither<unknown, A>
```

Added in v0.6.12
Expand All @@ -407,9 +407,9 @@ Added in v0.6.12

```ts
export declare const fold: <E, A, B>(
onLeft: (e: E) => Observable<B>,
onRight: (a: A) => Observable<B>
) => (ma: ObservableEither<E, A>) => Observable<B>
onLeft: (e: E) => any,
onRight: (a: A) => any
) => (ma: ObservableEither<E, A>) => any
```

Added in v0.6.8
Expand All @@ -419,7 +419,7 @@ Added in v0.6.8
**Signature**

```ts
export declare const getOrElse: <E, A>(onLeft: (e: E) => Observable<A>) => (ma: ObservableEither<E, A>) => Observable<A>
export declare const getOrElse: <E, A>(onLeft: (e: E) => any) => (ma: ObservableEither<E, A>) => any
```

Added in v0.6.8
Expand Down
11 changes: 4 additions & 7 deletions docs/modules/ObservableOption.ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Added in v0.6.14
**Signature**

```ts
export declare const fromObservable: <A = never>(ma: Observable<A>) => ObservableOption<A>
export declare const fromObservable: <A = never>(ma: any) => ObservableOption<A>
```

Added in v0.6.14
Expand Down Expand Up @@ -228,7 +228,7 @@ Added in v0.6.14
**Signature**

```ts
export declare const tryCatch: <A>(a: Observable<A>) => ObservableOption<A>
export declare const tryCatch: <A>(a: any) => ObservableOption<A>
```

Added in v0.6.14
Expand All @@ -240,10 +240,7 @@ Added in v0.6.14
**Signature**

```ts
export declare const fold: <A, B>(
onNone: () => Observable<B>,
onSome: (a: A) => Observable<B>
) => (ma: ObservableOption<A>) => Observable<B>
export declare const fold: <A, B>(onNone: () => any, onSome: (a: A) => any) => (ma: ObservableOption<A>) => any
```

Added in v0.6.14
Expand All @@ -253,7 +250,7 @@ Added in v0.6.14
**Signature**

```ts
export declare const getOrElse: <A>(onNone: () => Observable<A>) => (ma: ObservableOption<A>) => Observable<A>
export declare const getOrElse: <A>(onNone: () => any) => (ma: ObservableOption<A>) => any
```

Added in v0.6.14
Expand Down
Loading