Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'@octocat/webhooks' has no exported member 'WebhookPayloadWithRepository' #971

Open
kagof opened this issue Jul 21, 2019 · 3 comments

Comments

@kagof
Copy link

commented Jul 21, 2019

Bug Report

Current Behavior
The type definition in context.d.ts is trying to pull in WebhookPayloadWithRepository from the octocat webhook type definitions. This type is not found in @octocat/webhooks/index.d.ts.

import { WebhookEvent, WebhookPayloadWithRepository } from '@octokit/webhooks';

Expected behavior/code
It should pull in a valid type.

Environment

  • Probot version(s): 7.2.0 (initialized with npx create-probot-app my-first-app and the basic-ts template)
  • Node/npm version: Node 8.7.0/npm 6.9.0
  • OS: Windows 10

Possible Solution

Additional context/Screenshots

Error message within VS Code:
error message within VS Code

@issue-label-bot issue-label-bot bot added the bug 🐞 label Jul 21, 2019

@welcome

This comment has been minimized.

Copy link

commented Jul 21, 2019

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@issue-label-bot

This comment has been minimized.

Copy link

commented Jul 21, 2019

Issue-Label Bot is automatically applying the label bug 🐞 to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@stale

This comment has been minimized.

Copy link

commented Sep 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.