Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Added TypeScript definitions#2916

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
travi merged 2 commits intosemantic-release:masterfromoblakstudio:master
Aug 24, 2023
Merged

feat: Added TypeScript definitions#2916

travi merged 2 commits intosemantic-release:masterfromoblakstudio:master
Aug 24, 2023

Conversation

@seebeen
Copy link
Member

These type definitions are feature complete and include all of the interfaces, options and callbacks from the main semantic-release package.

Fully implemented TS definitions for semantic-release package
Copy link
Member

@gr2mgr2m left a comment

Choose a reason for hiding this comment

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

should we add type tests withtsd, at least some basic ones that we can add to as needed?

travi reacted with thumbs up emoji
Comment on lines +1 to +3
declare interface AggregateError extends Error {
errors: any[];
}
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

we're stillusing the library rather than the built-in. i think there is something that would make the switch a breaking change, but i do think we should migrate

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

We need to defined it because we can't cross-reference node types easily.
It's builtin since node 15.

@seebeen
Copy link
MemberAuthor

should we add type tests withtsd, at least some basic ones that we can add to as needed?

I can add those later in. The typedef file added in this PR is also in @semantic-release/wordpress, and in a PRhttps://github.com/DefinitelyTyped/DefinitelyTyped/pull/66223.

Since that PR won't be merged anytime soon, let's roll our own, and I can implement a full typechecking test later on.

gr2m reacted with thumbs up emoji

@travitravi changed the titleImplented typescript definitionsfeat: Added TypeScript definitionsAug 24, 2023
@travitravi merged commitc21a1ac intosemantic-release:masterAug 24, 2023
@github-actions
Copy link

🎉 This PR is included in version 21.1.0 🎉

The release is available on:

Yoursemantic-release bot 📦🚀

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gr2mgr2mgr2m approved these changes

@travitravitravi approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@seebeen@gr2m@travi

[8]ページ先頭

©2009-2025 Movatter.jp