pengx17
2024-05-31 10:28:37 +00:00
parent b65c01c5e1
commit ea0059fa1b
31 changed files with 1018 additions and 44 deletions

View File

@@ -337,7 +337,7 @@ export class LiveData<T = unknown>
distinctUntilChanged(comparator?: (previous: T, current: T) => boolean) {
return LiveData.from(
this.pipe(distinctUntilChanged(comparator)),
null as any
null as T
);
}