From fd3116778ea540f9ad4cb8bbc73993f329eb6e60 Mon Sep 17 00:00:00 2001 From: Jesse Jackson Date: Thu, 21 Dec 2023 15:50:26 -0600 Subject: [PATCH] fix(cli/spinner): export private type aliases used in public API (#4012) fix(cli/spinner): export type aliases used in public API Ref: https://github.com/denoland/deno_std/pull/3968 --- cli/spinner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/spinner.ts b/cli/spinner.ts index 3d08f820a..8a806a9b5 100644 --- a/cli/spinner.ts +++ b/cli/spinner.ts @@ -13,8 +13,8 @@ const DEFAULT_SPINNER = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", // This is a hack to allow us to use the same type for both the color name and an ANSI escape code. // ref: https://github.com/microsoft/TypeScript/issues/29729#issuecomment-460346421 // deno-lint-ignore ban-types -type Ansi = string & {}; -type Color = +export type Ansi = string & {}; +export type Color = | "black" | "red" | "green"