UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

7 lines (6 loc) 224 B
import { TNeverPredicate } from "./t-never-predicate.js"; /** * @public * If the value is never, return the fallback instead. */ export type TNeverFallback<TValue, TFallback> = TNeverPredicate<TValue, TFallback, TValue>;