mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
* introduce extension service * deprecate legacy forwarder types * eliminate repeat algorithm emissions * extend logging to preference management * align forwarder ids with vendor ids * fix duplicate policy emissions; debugging required logger enhancements ----- Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
14 lines
517 B
TypeScript
14 lines
517 B
TypeScript
import { Observable } from "rxjs";
|
|
|
|
/**
|
|
* Used to infer types from arguments to functions like {@link withLatestReady}.
|
|
* So that you can have `forkJoin([Observable<A>, PromiseLike<B>]): Observable<[A, B]>`
|
|
* et al.
|
|
* @remarks this type definition is derived from rxjs' {@link ObservableInputTuple}.
|
|
* The difference is it *only* works with observables, while the rx version works
|
|
* with any thing that can become an observable.
|
|
*/
|
|
export type ObservableTuple<T> = {
|
|
[K in keyof T]: Observable<T[K]>;
|
|
};
|