🔎 Search Terms
"imports", "# imports"
🕗 Version & Regression Information
- This is a bug
- As far as I know, it has never worked
⏯ Playground Link
https://github.com/magnusriga/my-app
💻 Code
// foo.tsximport{Bar}from"#app/bar";// Resolved by TS, but lacking Intellisense (ctrl+space suggestions).import{Baz}from"my-app/baz";// Resolved by TS, but lacking Intellisense (ctrl+space suggestions).import{Qux}from"./qux";// Resolved by TS and has full Intellisense.exportconstFoo=()=>{return(<><Barbar="bar"/><Bazbaz="baz"/><Quxqux="qux"/></>);};// bar.tsx (baz.tsx and qux.tsx are similar)exportconstBar=({bar}: {bar: string})=>{return<div>{bar}</div>}// package.json
{
..."name": "my-app",
"imports": {
"#app/*": "./src/app/*.js"
},
"exports": {
"./*": "./src/app/*.js"
},
...I am using "typescript": "5.5.0-dev.20240314".
🙁 Actual behavior
The import specifiers do not provide Intellisense suggestions. TS is able to resolve the files however, so there is no TS error.
🙂 Expected behavior
The expected behavior is for Intellisense to understand the TS resolution and provide suggestions with ctrl+space.
Additional information about the issue
No response
🔎 Search Terms
"imports", "# imports"
🕗 Version & Regression Information
⏯ Playground Link
https://github.com/magnusriga/my-app
💻 Code
I am using
"typescript": "5.5.0-dev.20240314".🙁 Actual behavior
The import specifiers do not provide Intellisense suggestions. TS is able to resolve the files however, so there is no TS error.
🙂 Expected behavior
The expected behavior is for Intellisense to understand the TS resolution and provide suggestions with ctrl+space.
Additional information about the issue
No response