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.
The process fails with the latest
@octokit/restversion:I manually installed
@octokit/rest@18.0.0(minimum version required by this package), and got it working.