Title: Issue · GitHub
Open Graph Title: Issue · microsoft/TypeScript
X Title: Issue · microsoft/TypeScript
Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
Open Graph Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
X Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript
Opengraph URL: https://github.com/microsoft/TypeScript
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ModuleResolution Node16/NodeNext fails without extension starting on 5.5.0-dev.20240413","articleBody":"### 🔎 Search Terms\n\nmoduleResolution node16 nodeNext import extension\n\n### 🕗 Version \u0026 Regression Information\n\n- This changed between versions 5.5.0-dev.20240413 and 5.5.0-dev.20240415 (last one checked)\r\n\r\n\n\n### ⏯ Playground Link\n\n_No response_\n\n### 💻 Code\n\n```ts\r\ntype Something1 = typeof import('@some/package/path/to/file');\r\ntype Something2 = typeof import('@some/package/path/to/file.js');\r\n```\r\n\n\n### 🙁 Actual behavior\n\nSomething1 resolves to `any`\r\nSomething2 resolves to `Something`\n\n### 🙂 Expected behavior\n\nSomething1 resolves to `Something`\r\nSomething2 resolves to `Something`\n\n### Additional information about the issue\n\nThis happens on the latest nightly versions and on moduleResolution Node16/NodeNext.\r\n\r\nFrom what I could get, it started on 5.5.0-dev.20240413.","author":{"url":"https://github.com/Noriller","@type":"Person","name":"Noriller"},"datePublished":"2024-04-16T18:34:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/58214/TypeScript/issues/58214"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:9aa2a2ac-64c7-4908-5d5d-8a16de2f5298 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECB0:2F6413:73B9947:9A4316E:6A5E05D9 |
| html-safe-nonce | ee7b965c5aba1f035f7ec9f371f0d05ca041c9126542bc315f9361b87e5f30f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0IwOjJGNjQxMzo3M0I5OTQ3OjlBNDMxNkU6NkE1RTA1RDkiLCJ2aXNpdG9yX2lkIjoiMzQyMTg4NTQyNjczMDY2NTQzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3c3b300fb5fe0eca907e32e18c84559a585256c60603f083a1db4be05e092ee0 |
| hovercard-subject-tag | repository:20929025 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/TypeScript/issues/58214 |
| twitter:image | https://opengraph.githubassets.com/5f0a8cc05eca2fbe93f440ed24fa7bd04b5a0a52d7cc0de5c831e05efba6f508/microsoft/TypeScript |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f0a8cc05eca2fbe93f440ed24fa7bd04b5a0a52d7cc0de5c831e05efba6f508/microsoft/TypeScript |
| og:image:alt | TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Issue · microsoft/TypeScript |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c1de870f4c0eff05971cd22970403a1239a98dc1a35e52a43594f23fc4d546f |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e90635d4b07e4a20ff548df2e2bfea2179c6a3f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width