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

Housekeeping: Add link between interface and implementation when compiling ts for easy jump to implementation #3754

Conversation

Fuzzy3
Copy link
Collaborator

@Fuzzy3 Fuzzy3 commented Jan 15, 2025

Which issue does this PR close?

This PR closes no issue.

What is the new behavior?

When navigating to definition of function you are currently taken to the interface file instead of the actual implementation. This is annoying for the :rage1: (developer).

Other people have been annoyed too: microsoft/TypeScript#14479
Luckily the fix is easy as described here: microsoft/TypeScript#22658

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any additional context?

Going to definition of IonicElementPartHelper:
image

Will take you to the d.ts. interface file:
image

And should take you to:
image

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Review

  • Determine if your changes are a fix, feature or breaking-change, and add the matching label to your PR. If it is tooling, dependency updates or similar, add ignore-for-release.
  • Do a self-review.
  • Request that the changes are code-reviewed

When the pull request has been approved it will be merged to develop by Team Kirby.

@Fuzzy3 Fuzzy3 added the ignore-for-release Housekeeping, tooling etc. that have no relevance for consumers of Kirby label Jan 15, 2025
Copy link
Collaborator

@jakobe jakobe left a comment

Choose a reason for hiding this comment

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

Consider adding to base config instead

Copy link
Collaborator

@jakobe jakobe left a comment

Choose a reason for hiding this comment

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

LGTM 👌🏻

@Fuzzy3 Fuzzy3 enabled auto-merge (squash) January 16, 2025 10:13
@Fuzzy3 Fuzzy3 merged commit 60c121b into develop Jan 17, 2025
9 of 12 checks passed
@Fuzzy3 Fuzzy3 deleted the housekeeping/create-typescript-declarions-map-for-quick-access-to-implementation branch January 17, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release Housekeeping, tooling etc. that have no relevance for consumers of Kirby
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants