Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix TS Plugin: show hover in wrapped functions #104

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

laulauland
Copy link
Member

Closes #91

This PR fixes an issue where Autometrics hover wouldn't show in cases like this:

autometrics(wrappedFunction)
                    ^ -- hovering here

Basically it simplifies some redundant logic that prevented the tooltip for showing.

@laulauland laulauland requested a review from brettimus July 19, 2023 15:23
@laulauland laulauland merged commit 8e4606e into main Jul 19, 2023
@laulauland laulauland deleted the fix-ts-plugin-wrapped-functions branch July 19, 2023 15:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 autometrics typescript plugin doesn't pick up on autometrics(wrappedFunction) to show tooltip
2 participants