chore(APIRole): make icon and unicode_emoji nullable (#217)

This commit is contained in:
Shubham Parihar
2021-10-07 00:31:41 +05:30
committed by GitHub
parent 7db69531d8
commit 329451c6c9
4 changed files with 8 additions and 8 deletions

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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
*/

View File

@@ -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
*/