Skip to content

Commit

Permalink
fix: type name
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Aug 19, 2024
1 parent f3375f0 commit 01b44f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/api/sticker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import type { RequestData, REST } from '@discordjs/rest';
import {
Routes,
type RESTGetAPIStickerPackResult,
type RESTGetAPIStickerPack,
type RESTGetAPIStickerResult,
type RESTGetStickerPacksResult,
type Snowflake,
Expand All @@ -20,7 +20,7 @@ export class StickersAPI {
* @param options - The options for fetching the sticker pack
*/
public async getStickerPack(packId: Snowflake, { signal }: Pick<RequestData, 'signal'> = {}) {
return this.rest.get(Routes.stickerPack(packId), { signal }) as Promise<RESTGetAPIStickerPackResult>;
return this.rest.get(Routes.stickerPack(packId), { signal }) as Promise<RESTGetAPIStickerPack>;
}

/**
Expand Down

0 comments on commit 01b44f2

Please sign in to comment.