Skip to content

Commit e65a376

Browse files
committed
docs: try @defaultValue
1 parent e45d179 commit e65a376

File tree

8 files changed

+12
-8
lines changed

8 files changed

+12
-8
lines changed

deno/rest/v10/guild.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,8 @@ export interface RESTPostAPIGuildRoleJSONBody {
672672
/**
673673
* Bitwise value of the enabled/disabled permissions
674674
*
675-
* @default "default role permissions in guild"
675+
* @defaultValue
676+
* Default role permissions in guild
676677
*/
677678
permissions?: Permissions | null | undefined;
678679
/**

deno/rest/v10/stageInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface RESTPostAPIStageInstanceJSONBody {
1616
/**
1717
* The privacy level of the stage instance
1818
*
19-
* @default GuildOnly
19+
* @defaultValue `StageInstancePrivacyLevel.GuildOnly`
2020
*/
2121
privacy_level?: StageInstancePrivacyLevel | undefined;
2222
/**

deno/rest/v9/guild.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ export interface RESTPostAPIGuildRoleJSONBody {
678678
/**
679679
* Bitwise value of the enabled/disabled permissions
680680
*
681-
* @default "default role permissions in guild"
681+
* @defaultValue
682+
* Default role permissions in guild
682683
*/
683684
permissions?: Permissions | null | undefined;
684685
/**

deno/rest/v9/stageInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface RESTPostAPIStageInstanceJSONBody {
1616
/**
1717
* The privacy level of the stage instance
1818
*
19-
* @default GuildOnly
19+
* @defaultValue `StageInstancePrivacyLevel.GuildOnly`
2020
*/
2121
privacy_level?: StageInstancePrivacyLevel | undefined;
2222
/**

rest/v10/guild.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,8 @@ export interface RESTPostAPIGuildRoleJSONBody {
672672
/**
673673
* Bitwise value of the enabled/disabled permissions
674674
*
675-
* @default "default role permissions in guild"
675+
* @defaultValue
676+
* Default role permissions in guild
676677
*/
677678
permissions?: Permissions | null | undefined;
678679
/**

rest/v10/stageInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface RESTPostAPIStageInstanceJSONBody {
1616
/**
1717
* The privacy level of the stage instance
1818
*
19-
* @default GuildOnly
19+
* @defaultValue `StageInstancePrivacyLevel.GuildOnly`
2020
*/
2121
privacy_level?: StageInstancePrivacyLevel | undefined;
2222
/**

rest/v9/guild.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ export interface RESTPostAPIGuildRoleJSONBody {
678678
/**
679679
* Bitwise value of the enabled/disabled permissions
680680
*
681-
* @default "default role permissions in guild"
681+
* @defaultValue
682+
* Default role permissions in guild
682683
*/
683684
permissions?: Permissions | null | undefined;
684685
/**

rest/v9/stageInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface RESTPostAPIStageInstanceJSONBody {
1616
/**
1717
* The privacy level of the stage instance
1818
*
19-
* @default GuildOnly
19+
* @defaultValue `StageInstancePrivacyLevel.GuildOnly`
2020
*/
2121
privacy_level?: StageInstancePrivacyLevel | undefined;
2222
/**

0 commit comments

Comments
 (0)