Skip to content

Intelli sense not working in visual studio code and webstorm for function "requestReviewers" #319

Closed
@florian30491

Description

@florian30491

Hey :)

I'm new to typescript programming and writing actions on GitHub with octokit.

I wanted to adjust a GitHub Action from GitHub to work with GitHub Enterprise server. Therefore, I created a fork and adjusted the instantiation of the octokit client. Due to this change I had to adjust the function for adding reviewers to a pull request. Unfortunately the intelli sense of this function is not working, but the function is working inside the GitHub Action, see image below.

image

The code snippet of the function can be found here:

https://github.com/florian30491/create-pull-request/blob/077ac2ff73029f6a18ba0a56d08cb0461a8cba8b/src/index.ts#L16-L21

I hope you can answer me this question.

Best Regards,
Florian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented, or is being fixedtypescriptRelevant to TypeScript users only

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions