Skip to main content
Latest
type alias ValueFromNotification
import { type ValueFromNotification } from "https://deno.land/x/rxjs@v1.0.2/mod.ts";

Gets the value type from an ObservableNotification, if possible.

definition: T extends { kind: "N" | "E" | "C"; } ? T extends NextNotification<any> ? T extends { value: infer V; } ? V : undefined : never : never