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

Typescript/Javascript expressions embedded in template strings not recognized #372

Open
jamestelfer opened this issue Nov 13, 2023 · 0 comments

Comments

@jamestelfer
Copy link

Describe the bug
JavaScript template strings can include expressions:

const s = `foo ${bar.toString()}`

When using the Javascript or Typescript matchers, these expressions cannot be matched. When using the Generic matcher, it works.

Reproducing

bit.ly/3QEaAfy

Expected behavior

I expect to be able to match on expressions within template strings.

Additional context

It is possible for me to "just" use the Generic matcher when transforming these files, but I'm not sure what other potential issues I might cause myself by doing so, and it makes me wonder whether I should be using the Typescript matcher at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant