Skip to content

Commit

Permalink
FIX type of RxQuery.$ must be Observable #6285
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Aug 2, 2024
1 parent b78ddbc commit f10faa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- FIX quotes problem on windows with the scripts of the `package.json`
- CHANGE `getSQLiteBasicsNodeNative()` requires the constructor as param
- FIX key-compression broken with boolean indexes on dexie [#6267](https://github.com/pubkey/rxdb/pull/6267)
- FIX type of `RxQuery.$` must be `Observable` [#6285](https://github.com/pubkey/rxdb/issues/6285)
<!-- ADD new changes here! -->

<!-- /CHANGELOG NEWEST -->
Expand Down
2 changes: 1 addition & 1 deletion src/rx-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class RxQueryBase<
mangoQuery
);
}
get $(): BehaviorSubject<RxQueryResult> {
get $(): Observable<RxQueryResult> {
if (!this._$) {

const results$ = this.collection.$.pipe(
Expand Down

0 comments on commit f10faa9

Please sign in to comment.