Skip to content

bradennapier/typescript-auto-import-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps

  • Open src/packages/two/index.ts
  • Auto Import of tryImporting will be to dist as shown below

Problem

When using outDir, auto imports will always resolve from the outDir rather than the source directory. This causes auto imports to become incorrect.

Image

Failure One

  • from ./src/packages/two/index.ts

example

Failure Two

  • from ./src/packages/two/index.ts

example

About

Repro of the Auto Import Bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published