Skip to content

Commit

Permalink
fix: remove unused properties
Browse files Browse the repository at this point in the history
These properties have not yet been through the property onboarding
process, and so should not yet be exposed. Plus they were never being
set.

BREAKING CHANGE: `Post.thumbnailHeight` and `Post.thumbnailWidth` have
been temporarily removed. They were not yet supposed to be exposed, but
they slipped through the cracks.
  • Loading branch information
thislooksfun committed Feb 4, 2022
1 parent a29c85b commit 17a5f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objects/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ export class Post extends Voteable implements PostData {
subredditSubscribers: number;
// suggestedSort: Maybe<Sort>;
// thumbnail: string;
thumbnailHeight?: number;
thumbnailWidth?: number;
// thumbnailHeight?: number;
// thumbnailWidth?: number;
title: string;
upvoteRatio: number;
url: string;
Expand Down

0 comments on commit 17a5f36

Please sign in to comment.