UNPKG

@flex-development/tutils

Version:
13 lines (12 loc) 325 B
/** * @file Type Definitions - OrNever * @module tutils/types/OrNever */ /** * Represents data returned by a function, or the return type of a function that * never returns a value because an error was thrown. * * @template T - Return value */ declare type OrNever<T> = T | never; export { type OrNever as default };