Skip to content

Commit

Permalink
👕 fix flow errors in Platform interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nsfmc committed Nov 19, 2016
1 parent ff9d21f commit 39c9ba7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/platforms/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ export interface Platform {
/** Used internally for getting PR/Repo metadata */
ciSource: CISource;
/** Pulls in the Code Review Metadata for inspection */
getReviewInfo: () => Promise<any>;
+getReviewInfo: () => Promise<any>;
/** Pulls in the Code Review Diff, and offers a succinct user-API for it */
getReviewDiff: () => Promise<GitDSL>;
+getReviewDiff: () => Promise<GitDSL>;
/** Creates a comment on the PR */
createComment: (body: string) => Promise<any>;
+createComment: (body: string) => Promise<any>;
/** Delete the main Danger comment */
deleteMainComment: () => Promise<bool>;
+deleteMainComment: () => Promise<bool>;
/** Replace the main Danger comment */
editMainComment: (newComment: string) => Promise<any>;
+editMainComment: (newComment: string) => Promise<any>;
/** Replace the main Danger comment */
updateOrCreateComment: (newComment: string) => Promise<any>;
+updateOrCreateComment: (newComment: string) => Promise<any>;
}

// /** Download all the comments in a PR */
Expand Down

0 comments on commit 39c9ba7

Please sign in to comment.