type annotation / header file / declaration file #56

Closed
opened 2026-02-17 11:40:07 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Mouvedia on GitHub (Jan 22, 2019).

What's the proper type for a d.ts file* update?
What about JSDoc comments?

I think it's refactor but docs might be correct too.

* TypeScript declaration file

Originally created by @Mouvedia on GitHub (Jan 22, 2019). What's the proper type for a d.ts file* update? What about JSDoc comments? I think it's refactor but docs might be correct too. <sub>\* TypeScript declaration file</sub>
GiteaMirror added the question label 2026-02-17 11:40:07 -06:00
Author
Owner

@stevemao commented on GitHub (Jan 22, 2019):

I'd use refactor in this case

@stevemao commented on GitHub (Jan 22, 2019): I'd use refactor in this case
Author
Owner

@bcoe commented on GitHub (Feb 18, 2019):

@stevemao thanks for fielding this. @Mouvedia sounds like you both lean towards refactor, I'd run with this 👍

Keep in mind that the spec doesn't strictly define most types, so it's more important that you're consistent in your own project, and document the approach used, rather than always come to 100% agreement on type name with folks outside your project.

@bcoe commented on GitHub (Feb 18, 2019): @stevemao thanks for fielding this. @Mouvedia sounds like you both lean towards `refactor`, I'd run with this 👍 Keep in mind that the spec doesn't strictly define most `types`, so it's more important that you're consistent in your own project, and document the approach used, rather than always come to 100% agreement on type name with folks outside your project.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/conventionalcommits.org#56