-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Use package.json exports for AutoImportProvider under --moduleResolution node
#48977
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
Comments
@andrewbranch Not sure if if this is a bug or expected |
Does it get suggested if you use This is expected. |
Actually, I think under |
--moduleResolution node
I’ll plan to investigate. |
Hi @andrewbranch!
How could they properly do that? |
|
@andrewbranch If I have a few libraries in a monorepo whose modules can all be imported individually, and auto import works great in that repo. If it would potentially cause issues with the declarations of existing libraries, could there maybe be a flag in package.json to enable auto-import for all the declarations in the package? Side question -- in TS 4.7, when does the |
|
Hi, @andrewbranch I'm facing the same I read the tsconfig docs and thought it could be the problem of However after I've installed the Could I get some help from you? TIA. |
Should I start a new issue? |
Two things I can imagine:
|
I think I’ve convinced myself that this isn’t a great idea, as entrypoints in |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
npm init -y
npm i yargs
hideBin
(it's a function from theyargs
module)The text was updated successfully, but these errors were encountered: