Skip to content

Commit

Permalink
fix: accurately reflect types of 'edited'
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Mar 13, 2021
1 parent daa9aac commit 65f94c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objects/voteable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface VoteableData extends ContentData {
canModPost: boolean;
dismissedUserReports?: string[];
distinguished: "admin" | "moderator" | null;
edited: number | boolean;
edited: number | false;
gilded: number;
gildings: Gildings;
/** true = upvoted, false = downvoted, null = hasn't voted */
Expand Down Expand Up @@ -113,7 +113,7 @@ export default abstract class Voteable extends Content implements VoteableData {
canModPost: boolean;
dismissedUserReports?: string[];
distinguished: "admin" | "moderator" | null;
edited: number | boolean;
edited: number | false;
gilded: number;
gildings: Gildings;
likes: boolean | null;
Expand Down

0 comments on commit 65f94c7

Please sign in to comment.