mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
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
This commit is contained in:
parent
76fd2aa102
commit
fd3116778e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user