Skip to content

Commit

Permalink
Update declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
azz committed Feb 25, 2018
1 parent 310b865 commit 3fce9a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions source/danger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ declare module "danger" {
/** The data only version of Git DSL */
git: GitJSONDSL
/** The data only version of GitHub DSL */
github: GitHubDSL
github?: GitHubDSL
/** The data only version of BitBucket Server DSL */
bitbucket_server?: BitBucketServerJSONDSL
/**
* Used in the Danger JSON DSL to pass metadata between
* processes. It will be undefined when used inside the Danger DSL
Expand Down Expand Up @@ -303,7 +305,9 @@ declare module "danger" {
* this is the full JSON from the webhook. You can find the full
* typings for those webhooks [at github-webhook-event-types](https://github.com/orta/github-webhook-event-types).
*/
readonly github: GitHubDSL
readonly github?: GitHubDSL

readonly bitbucket_server?: BitBucketServerDSL

/**
* Functions which are globally useful in most Dangerfiles. Right
Expand Down

0 comments on commit 3fce9a9

Please sign in to comment.