mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
types(ColorResolvable): simplify string types (#7643)
This commit is contained in:
31
packages/discord.js/typings/index.d.ts
vendored
31
packages/discord.js/typings/index.d.ts
vendored
@@ -3837,36 +3837,7 @@ export interface CollectorResetTimerOptions {
|
||||
}
|
||||
|
||||
export type ColorResolvable =
|
||||
| 'Default'
|
||||
| 'White'
|
||||
| 'Aqua'
|
||||
| 'Green'
|
||||
| 'Blue'
|
||||
| 'Yellow'
|
||||
| 'Purple'
|
||||
| 'LuminousVividPink'
|
||||
| 'Fuchsia'
|
||||
| 'Gold'
|
||||
| 'Orange'
|
||||
| 'Red'
|
||||
| 'Grey'
|
||||
| 'Navy'
|
||||
| 'DarkAqua'
|
||||
| 'DarkGreen'
|
||||
| 'DarkBlue'
|
||||
| 'DarkPurple'
|
||||
| 'DarkVividPink'
|
||||
| 'DarkGold'
|
||||
| 'DarkOrange'
|
||||
| 'DarkRed'
|
||||
| 'DarkGrey'
|
||||
| 'DarkerGrey'
|
||||
| 'LightGrey'
|
||||
| 'DarkNavy'
|
||||
| 'Blurple'
|
||||
| 'Greyple'
|
||||
| 'DarkButNotBlack'
|
||||
| 'NotQuiteBlack'
|
||||
| keyof typeof Colors
|
||||
| 'Random'
|
||||
| readonly [red: number, green: number, blue: number]
|
||||
| number
|
||||
|
||||
Reference in New Issue
Block a user