Module

std/cli/mod.ts>Ansi

The Deno Standard Library
Go to Latest
type alias Ansi
import { type Ansi } from "https://dotland.deno.dev/std@0.223.0/cli/mod.ts";

This is a hack to allow us to use the same type for both the color name and an ANSI escape code.

definition: string & { }