Skip to content

Commit

Permalink
Update typings
Browse files Browse the repository at this point in the history
  • Loading branch information
pakkographic committed Aug 10, 2024
1 parent 25ef4c6 commit c087963
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/routes/Guilds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export class Guilds {
async createChannel<T extends AnyChannel = AnyChannel>(
guildID: string,
name: string,
type: APIChannelCategories | `${APIChannelCategories}`,
type: APIChannelCategories,
options?: CreateChannelOptions
): Promise<T> {
if (!guildID) throw new Error("guildID is a required parameter.");
Expand Down
2 changes: 1 addition & 1 deletion lib/structures/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ export class Client extends TypedEmitter<ClientEvents> {
async createChannel<T extends AnyChannel = AnyChannel>(
guildID: string,
name: string,
type: APIChannelCategories | `${APIChannelCategories}`,
type: APIChannelCategories,
options?: CreateChannelOptions
): Promise<T> {
return this.rest.guilds.createChannel<T>(guildID, name, type, options);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"typescript": "^4.9.4"
},
"dependencies": {
"guildedapi-types.ts": "0.3.57",
"guildedapi-types.ts": "0.3.59",
"undici": "^6.19.2",
"ws": "^8.11.0"
},
Expand Down

0 comments on commit c087963

Please sign in to comment.