Skip to main content
Module

x/fuzzy_octo_guacamole/types/helpers.ts

A playground for testing CI setup that deploys on Deno and NPM
Latest
import * as fuzzyOctoGuacamole from "https://deno.land/x/fuzzy_octo_guacamole@v5.0.1/types/helpers.ts";

Type Aliases

if a key of an object has the never type, returns never, otherwise returns the type of object

GuardValue returns the value guarded by a type guard function.

LeastUpperBound

An interesting one. A type taking two imbricated sets and returning the smallest one. We need that because sometimes the pattern's inferred type holds more information than the value on which we are matching (if the value is any or unknown for instance).