Closed as not planned
Closed as not planned
Description
π Search Terms
moduleResolution node16 nodeNext import extension
π Version & Regression Information
- This changed between versions 5.5.0-dev.20240413 and 5.5.0-dev.20240415 (last one checked)
β― Playground Link
No response
π» Code
type Something1 = typeof import('@some/package/path/to/file');
type Something2 = typeof import('@some/package/path/to/file.js');
π Actual behavior
Something1 resolves to any
Something2 resolves to Something
π Expected behavior
Something1 resolves to Something
Something2 resolves to Something
Additional information about the issue
This happens on the latest nightly versions and on moduleResolution Node16/NodeNext.
From what I could get, it started on 5.5.0-dev.20240413.