Skip to main content
Module

x/fuzzy_octo_guacamole/internals/symbols.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/internals/symbols.ts";

Symbols used internally within ts-pattern to construct and discriminate Guard, Not, and Select, and AnonymousSelect patterns

Symbols have the advantage of not appearing in auto-complete suggestions in user defined patterns, and eliminate the risk of property overlap between ts-pattern internals and user defined patterns.

These symbols have to be visible to tsc for type inference to work, but users should not import them

Variables

Symbols used internally within ts-pattern to construct and discriminate Guard, Not, and Select, and AnonymousSelect patterns