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

Node version upgrade to 20 #38

Merged
merged 6 commits into from Dec 7, 2023

Conversation

HarithaVattikuti
Copy link
Contributor

Description:
Changes added for the node-version upgrade to node20.

Related issue:
Feature Request

package.json Outdated Show resolved Hide resolved
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
src/api-utils.ts Outdated
Comment on lines 17 to 19
interface Error {
status?: number;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it will be better to change it to this:

interface ErrorStatus extends Error {
    status: number;
}

because TypeScript already has interface Error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented the change

@@ -14,19 +14,23 @@ interface GitRef {
};
}

interface ErrorStatus extends Error {
status?: number;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment and please correct me if I'm wrong, but I think we can also remove the question mark here now that the suggested change has been implemented?

@dmitry-shibanov dmitry-shibanov merged commit f784495 into actions:main Dec 7, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants