feat: gql revamp (#2644)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Anwarul Islam
2023-08-22 18:13:43 +06:00
committed by GitHub
parent 191fa376d2
commit 88212e8cfe
41 changed files with 2503 additions and 1702 deletions

View File

@@ -14,7 +14,7 @@ type CloneMode = "noclone" | "shallow" | "deep"
*/
export function useReadonlyStream<T>(
stream$: Observable<T>,
initialValue: T,
initialValue?: T,
cloneMode: CloneMode = "shallow"
): Ref<T> {
let sub: Subscription | null = null