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

replacing getValue on V3 #916

Closed
wants to merge 4 commits into from
Closed

replacing getValue on V3 #916

wants to merge 4 commits into from

Conversation

Janther
Copy link
Contributor

@Janther Janther commented Aug 25, 2023

future proofing for V4

Caveat:

The optimal solution is to use path.node() but there's a bug that I reported here prettier/prettier#15291.
For now using path.getNode().

EDIT

I was informed that the proper way to call it was as a getter path.node and not a function.

@Janther Janther added the refactor reorganising the code without changes label Oct 1, 2023
@Janther Janther force-pushed the deprecated-getValue branch from 31ab567 to 19e1c39 Compare November 8, 2023 00:53
@Janther Janther force-pushed the deprecated-getValue branch from 19e1c39 to e927f70 Compare December 10, 2023 10:25
@Janther Janther force-pushed the deprecated-getValue branch from e927f70 to 59a3d61 Compare December 21, 2023 14:30
@Janther
Copy link
Contributor Author

Janther commented Jan 11, 2024

The Typescript migration will include this

@Janther Janther closed this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor reorganising the code without changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant