Skip to content

Conversation

HarithaVattikuti
Copy link
Contributor

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

Related issue:
Feature Request

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

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

Successfully merging this pull request may close these issues.

5 participants