Skip to content

Commit

Permalink
further fix for the VoteTypeId enum usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaphi committed Dec 20, 2022
1 parent 3e9fa13 commit 9e0f100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stackexchange.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ declare global {
postId: number;
success?: (jClicked: JQuery, postId: number, data: VoteData) => void;
undo?: boolean;
voteTypeId: typeof VoteTypeId;
voteTypeId: VoteTypeId;
}

interface VoteCast {
Expand All @@ -486,7 +486,7 @@ declare global {
/** This was written for an experiment that did not graduate and can be removed. */
normalizePostScore(score: number): number;
submit(voteOptions:VoteOptions): void;
voteTypeIds: VoteTypeId;
voteTypeIds: typeof VoteTypeId;
vote_down($voteButton: JQuery): void;
/** used by the review dashboard */
vote_init(votesCast:VoteCast[]): void;
Expand Down

0 comments on commit 9e0f100

Please sign in to comment.