1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 03:13:55 +00:00
Files
browser/libs/state/src/core/state-update-options.ts
Justin Baur 5f7f1d1924 Resolve state <-> state-test-utils circular dependency (#16093)
* Resolve state <-> state-test-utils circular dependency

* Fix type errors
2025-08-25 12:38:28 -04:00

10 lines
340 B
TypeScript

// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { Observable } from "rxjs";
export type StateUpdateOptions<T, TCombine> = {
readonly shouldUpdate: (state: T, dependency: TCombine) => boolean;
readonly combineLatestWith: Observable<TCombine> | null;
readonly msTimeout: number;
};