mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
typings(PartialUser): fix PartialUser remove deleted property (#4773)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -3031,7 +3031,7 @@ declare module 'discord.js' {
|
|||||||
|
|
||||||
type PartialTypes = 'USER' | 'CHANNEL' | 'GUILD_MEMBER' | 'MESSAGE' | 'REACTION';
|
type PartialTypes = 'USER' | 'CHANNEL' | 'GUILD_MEMBER' | 'MESSAGE' | 'REACTION';
|
||||||
|
|
||||||
interface PartialUser extends Partialize<User, 'bot' | 'flags' | 'locale' | 'system' | 'tag' | 'username'> {
|
interface PartialUser extends Omit<Partialize<User, 'bot' | 'flags' | 'locale' | 'system' | 'tag' | 'username'>, 'deleted'> {
|
||||||
bot: User['bot'];
|
bot: User['bot'];
|
||||||
flags: User['flags'];
|
flags: User['flags'];
|
||||||
locale: User['locale'];
|
locale: User['locale'];
|
||||||
|
|||||||
Reference in New Issue
Block a user