refactor(APIGuildScheduledEventBase): make creator_id optional (#315)

This commit is contained in:
Almeida
2022-02-08 18:50:26 +00:00
committed by GitHub
parent 269a75ccf7
commit ee2b7cd920
4 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/

View File

@@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/

View File

@@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/

View File

@@ -18,7 +18,7 @@ interface APIGuildScheduledEventBase<Type extends GuildScheduledEventEntityType>
/**
* The id of the user that created the scheduled event
*/
creator_id: Snowflake | null;
creator_id?: Snowflake | null;
/**
* The name of the scheduled event
*/