Skip to content

Typing issue with octokit on global github object #625

Open
@DavidWells

Description

@DavidWells

Its nice that octokit gets automagically added to the github object but it appears the types don't recognize it.

Property 'rest' does not exist on type 'typeof import("/node_modules/@actions/github/lib/github")'.ts(2339)

Any ideas on how we can fix?

Image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions