Skip to content

Commit

Permalink
feat(TypeScript): export WebhookDefinition type (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m committed Apr 12, 2020
1 parent 38c47cb commit da88ca9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
type WebhookDefinition = {
name: string,
actions: string[],
examples: object[]
type WebhookExample = {
[key: string]: any
}
export type WebhookDefinition = {
name: string;
actions: string[];
examples: WebhookExample[];
}

0 comments on commit da88ca9

Please sign in to comment.