Skip to content

Commit

Permalink
fix: use type
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 19, 2022
1 parent 99f83eb commit 8ccb6cb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deno/rest/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export type RESTPostAPIChannelMessageJSONBody = AddUndefinedToPossiblyUndefinedP
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
3 changes: 2 additions & 1 deletion deno/rest/v8/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
APIMessage,
APIWebhook,
APIAttachment,
MessageFlags,
} from '../../payloads/v8/mod.ts';
import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface, Nullable } from '../../utils/internals.ts';

Expand Down Expand Up @@ -142,7 +143,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion deno/rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export type RESTPostAPIChannelMessageJSONBody = AddUndefinedToPossiblyUndefinedP
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
3 changes: 2 additions & 1 deletion deno/rest/v9/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
APIMessage,
APIWebhook,
APIAttachment,
MessageFlags,
} from '../../payloads/v9/mod.ts';
import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface, Nullable } from '../../utils/internals.ts';

Expand Down Expand Up @@ -142,7 +143,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion rest/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export type RESTPostAPIChannelMessageJSONBody = AddUndefinedToPossiblyUndefinedP
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
3 changes: 2 additions & 1 deletion rest/v8/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
APIMessage,
APIWebhook,
APIAttachment,
MessageFlags,
} from '../../payloads/v8/index';
import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface, Nullable } from '../../utils/internals';

Expand Down Expand Up @@ -142,7 +143,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
2 changes: 1 addition & 1 deletion rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export type RESTPostAPIChannelMessageJSONBody = AddUndefinedToPossiblyUndefinedP
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down
3 changes: 2 additions & 1 deletion rest/v9/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type {
APIMessage,
APIWebhook,
APIAttachment,
MessageFlags,
} from '../../payloads/v9/index';
import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface, Nullable } from '../../utils/internals';

Expand Down Expand Up @@ -142,7 +143,7 @@ export type RESTPostAPIWebhookWithTokenJSONBody = AddUndefinedToPossiblyUndefine
/**
* Message flags combined as a bitfield
*/
flags?: bigint;
flags?: MessageFlags;
}>;

/**
Expand Down

0 comments on commit 8ccb6cb

Please sign in to comment.