You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The files: "code", "$code", and "$$code" all exist. "$$$$code" does not.// However, the first line is the only one that has an error:// "'"~server/$$code"' has no exported member named 'test2'. Did you mean 'test1'?"import{test2astest2_error}from"~server/$$code"import{test2astest2_working}from"~server/$$$$code"import{test1}from"~server/$code"import{test0}from"~server/code"import{test2astest2_2}from"./server/$$code"import{test1astest1_2}from"./server/$code"import{test0astest0_2}from"./server/code"
π Actual behavior
It appears that $$ gets escaped / interpreted as reduced to a single $ but ONLY when using paths config.
π Expected behavior
The filename imported matches the filename that you've written.
π Search Terms
"dollar signs", "two dollar signs", "$$", "paths config"
π Version & Regression Information
β― Playground Link
https://github.com/its-jman/ts-dollar-import-repro
π» Code
π Actual behavior
It appears that
$$
gets escaped / interpreted as reduced to a single$
but ONLY when using paths config.π Expected behavior
The filename imported matches the filename that you've written.
Additional information about the issue
Suggested cause / solution mentioned in responses on TS Discord here: https://discord.com/channels/508357248330760243/1357697438990995488/1357697438990995488
The text was updated successfully, but these errors were encountered: