mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-28 14:30:10 +00:00
chore(APIRole): make icon and unicode_emoji nullable (#217)
This commit is contained in:
@@ -78,11 +78,11 @@ export interface APIRole {
|
||||
/**
|
||||
* The role icon hash
|
||||
*/
|
||||
icon?: string;
|
||||
icon?: string | null;
|
||||
/**
|
||||
* The role unicode emoji as a standard emoji
|
||||
*/
|
||||
unicode_emoji?: string;
|
||||
unicode_emoji?: string | null;
|
||||
/**
|
||||
* Position of this role
|
||||
*/
|
||||
|
||||
@@ -82,11 +82,11 @@ export interface APIRole {
|
||||
/**
|
||||
* The role icon hash
|
||||
*/
|
||||
icon?: string;
|
||||
icon?: string | null;
|
||||
/**
|
||||
* The role unicode emoji as a standard emoji
|
||||
*/
|
||||
unicode_emoji?: string;
|
||||
unicode_emoji?: string | null;
|
||||
/**
|
||||
* Position of this role
|
||||
*/
|
||||
|
||||
@@ -78,11 +78,11 @@ export interface APIRole {
|
||||
/**
|
||||
* The role icon hash
|
||||
*/
|
||||
icon?: string;
|
||||
icon?: string | null;
|
||||
/**
|
||||
* The role unicode emoji as a standard emoji
|
||||
*/
|
||||
unicode_emoji?: string;
|
||||
unicode_emoji?: string | null;
|
||||
/**
|
||||
* Position of this role
|
||||
*/
|
||||
|
||||
@@ -82,11 +82,11 @@ export interface APIRole {
|
||||
/**
|
||||
* The role icon hash
|
||||
*/
|
||||
icon?: string;
|
||||
icon?: string | null;
|
||||
/**
|
||||
* The role unicode emoji as a standard emoji
|
||||
*/
|
||||
unicode_emoji?: string;
|
||||
unicode_emoji?: string | null;
|
||||
/**
|
||||
* Position of this role
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user