Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/mod.ts>SuperOf

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias SuperOf
import { type SuperOf } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";

Accepts all types of T and U where T extends U, and result in the upper bound U.

definition: T extends U ? U : never