Import fix creates incorrect URL for symbols from preact/hooks #37542
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
TypeScript Version: 3.8.3
Search Terms:
import preact/hooks preact/hooks/src
Code
Run missing import fix on
useMemo
.Expected behavior:
The quick fix should add the import line
Actual behavior:
The quick fix actually adds the incorrect import line
This will cause the source files from Preact to be bundled instead of the transpiled files, which will cause various kinds of breakage (see preactjs/preact#1757 or preactjs/preact#1373).
The text was updated successfully, but these errors were encountered: