Skip to content

Module '@octokit/types/dist-types' has no exported member 'IssuesListForRepoResponseData' #89

@ghost

Description

The process fails with the latest @octokit/rest version:

\node_modules\ts-node\src\index.ts:434
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
src/githubHelper.ts:5:10 - error TS2305: Module '"../node_modules/@octokit/types/dist-types"' has no exported member 'IssuesListForRepoResponseData'.

5 import { IssuesListForRepoResponseData, PullsListResponseData } from "@octokit/types";
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/githubHelper.ts:5:41 - error TS2305: Module '"../node_modules/@octokit/types/dist-types"' has no exported member 'PullsListResponseData'.

5 import { IssuesListForRepoResponseData, PullsListResponseData } from "@octokit/types";
                                          ~~~~~~~~~~~~~~~~~~~~~

I manually installed @octokit/rest@18.0.0 (minimum version required by this package), and got it working.

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