René's URL Explorer Experiment


Title: Only look up package.json type if module is node16/nodenext or file is in node_modules by andrewbranch · Pull Request #58825 · microsoft/TypeScript · GitHub

Open Graph Title: Only look up package.json type if module is node16/nodenext or file is in node_modules by andrewbranch · Pull Request #58825 · microsoft/TypeScript

X Title: Only look up package.json type if module is node16/nodenext or file is in node_modules by andrewbranch · Pull Request #58825 · microsoft/TypeScript

Description: This walks back the heuristics added to non-Node.js module modes in #57896 a bit, based mostly on feedback in #58663. In 5.5-beta, an explicit package.json "type" or module-format-specific file extension started overriding "module": "commonjs" or "module": "esnext" in tsconfig.json. This impacted both type checking (relevant primarily for imports of node_modules dependencies, but with some effects on local files, e.g. with verbatimModuleSyntax) and emit (relevant for local project source files, if emit was enabled). The feedback in #58663 was that the effects on local files were unwelcome because the emitted files (whether from tsc or another tool) were going to be placed in some other context tsc didn’t know about, so the package.json tsc was finding during compilation shouldn’t be considered during the build. With this PR, we only look up package.json "type" if --module is node16/nodenext (as we’ve always done) or if the file is inside node_modules. Some testing and experimentation is still needed to ensure this doesn’t create inconsistencies with symlinked monorepos. This doesn’t seem to cause inconsistencies with workspaces-style monorepos, because module resolution takes the realpath of files in node_modules before we see if we need to look up a package.json "type". So in a project references example like . └── packages/ ├── app/ │ ├── node_modules/shared ↪︎ │ ├── tsconfig.json │ ├── package.json │ └── index.ts └── shared/ ├── dist/index.d.ts ├── src/index.ts ├── tsconfig.json └── package.json When we build shared/tsconfig.json, we decide that shared/src/index.ts is not inside node_modules. Then, when we build app/tsconfig.json, even though we resolve app/node_modules/shared/dist/index.d.ts, we realpath it to shared/dist/index.d.ts and count it as not inside node_modules. Having this consistency between input and output files regardless of how they’re resolved is what matters most. The caveat is that the realpath and project references logic can cause the type checking of app/tsconfig.json during development to behave differently than it would after publishing/deploying into a situation where app/node_modules/shared is no longer a symlink, but a real node_modules package. Fixes #54752 Fixes #50647

Open Graph Description: This walks back the heuristics added to non-Node.js module modes in #57896 a bit, based mostly on feedback in #58663. In 5.5-beta, an explicit package.json "type" or module-format-specifi...

X Description: This walks back the heuristics added to non-Node.js module modes in #57896 a bit, based mostly on feedback in #58663. In 5.5-beta, an explicit package.json "type" or module-format...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/58825

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:60f459f7-c799-aa91-3617-a8a8b1778a4a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7CC:253796:3958A5E:4E1B1F1:6A5DECF6
html-safe-nonce6baefd9746e238f801e7f00734dde6dbe76f2d37c8d7ea080a158dd2526e8a25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0NDOjI1Mzc5NjozOTU4QTVFOjRFMUIxRjE6NkE1REVDRjYiLCJ2aXNpdG9yX2lkIjoiNzUwODY3ODY4NTg0NTQ4Mjc0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc71c5cd484f5a0a4bd88ab0f9188a6a57f06367845a01870f72f2847447a29cb
hovercard-subject-tagpull_request:1913239815
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/microsoft/TypeScript/pull/58825/files
twitter:imagehttps://avatars.githubusercontent.com/u/3277153?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3277153?s=400&v=4
og:image:altThis walks back the heuristics added to non-Node.js module modes in #57896 a bit, based mostly on feedback in #58663. In 5.5-beta, an explicit package.json "type" or module-format-specifi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8e8f322dc74b1a8d5bafb296008dbb96bb4a0bc6ee2d6f30844ab111697c520d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ae00b343090b49d0d18b8184187f51a39ed917c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/58825/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F58825%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F58825%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/58825/files
Reloadhttps://github.com/microsoft/TypeScript/pull/58825/files
Reloadhttps://github.com/microsoft/TypeScript/pull/58825/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 32 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose
andrewbranchhttps://github.com/andrewbranch
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
andrewbranch:package-json-type-only-in-node_moduleshttps://github.com/andrewbranch/TypeScript/tree/package-json-type-only-in-node_modules
Conversation 21 https://github.com/microsoft/TypeScript/pull/58825
Commits 7 https://github.com/microsoft/TypeScript/pull/58825/commits
Checks 0 https://github.com/microsoft/TypeScript/pull/58825/checks
Files changed https://github.com/microsoft/TypeScript/pull/58825/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
Only look up package.json type if module is node16/nodenext or file is in node_modules https://github.com/microsoft/TypeScript/pull/58825/files#top
Show all changes 7 commits https://github.com/microsoft/TypeScript/pull/58825/files
c4069c5 Revert "Revert "Respect package.json `"type"` and module-format-speci… andrewbranch Jun 17, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/c4069c58b0aaa0eaa738f4419c03b7d6bba9797a
6208d2f Revert "Revert "[DO NOT MERGE UNTIL 5.6] Fix re-exported defaults in … andrewbranch Jun 17, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/6208d2f6890a37a72e46b71b0a1e3eecf4794f37
1df4982 Merge branch 'main' into package-json-type-only-in-node_modules andrewbranch Jun 24, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/1df498290dad5c1661180a364973cfae3707457f
953711b Merge branch 'main' into package-json-type-only-in-node_modules andrewbranch Jul 1, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/953711b03924d7e7d0d04cf0ad6929af0f7a3f7e
5445d35 Remove unnecessary `type` import modifier andrewbranch Jul 1, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/5445d351b961ff8928044ee26d3178145524676c
8e6ae69 Update comments andrewbranch Jul 1, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/8e6ae696e19686c8a370b93446bd7d5abf2d9682
9d9a7a8 Silence knip bug andrewbranch Jul 1, 2024 https://github.com/microsoft/TypeScript/pull/58825/commits/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a
Clear filters https://github.com/microsoft/TypeScript/pull/58825/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
ts.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-d9481fd8ef2a498b1984b082895f0e9506e8c6ff5f7a62587ea1929d97ef6d55
checker.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
diagnosticMessages.json https://github.com/microsoft/TypeScript/pull/58825/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
emitter.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
utilities.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
moduleSpecifiers.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
program.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a
transformer.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-31d3c12bafea26bc9e8c8a77920c41af0c593206442add70c45a06c063767445
impliedNodeFormatDependent.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-7a626904086af8f6038eda0f230141f02018d26722304aa0cb0f4ece7a2f3dc7
module.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-3fa693abdf43c2781ae8cfa1d3b0450280b3aad90e7e8ae738efe58bcaced918
types.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-e9fd483341eea176a38fbd370590e1dc65ce2d9bf70bfd317c5407f04dba9560
utilities.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-1516c8349f7a625a2e4a2aa60f6bbe84e4b1a499128e8705d3087d893e01d367
watch.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-30daf2116777ac89a017838b6f4a72258f8b4f9930d4054bed1fe7db6506dcb3
importFixes.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-5028f517f8a294750ab440acf45a4845b9ae4e0e2f58293808d15adc469bbe23
completions.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-4237fd08a5f920543e184b7748bc8ae000d9b1c031810ba375b0053362ec2b6a
exportInfoMap.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-e103edcf604d8cf6f9e4e9bc7bd6bab002b5eaa96719fee4909d4b69e4f46623
stringCompletions.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-3348dda4cea653e350948f038ce30f8c824e834bc7354128cc4c1d6858370084
suggestionDiagnostics.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-262d358ccd1f0386b9a0c6707c3ceb80a64a5318c8f1778a77dd6422ec0ebba4
utilities.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-e7a6c6ac3d7aec62fd1afbb66b41e8d35663c7c9555b0668d1e14f0221f51459
projectReferences.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-56854a257d5d2c8e7b37cda3507b687757f5c39467acd26abec02e6e0f7a487a
typescript.d.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-dd6d044fa72b2a5303fe2eb63efcf13ffbc5acc4420e5a4b1224ac4df7667e57
conditionalExportsResolutionFallback(moduleresolution=bundler).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-09ffebf386788db7e1497ea026693147d3a8f049e6f9f7a7df9851eed60956a2
customConditions(resolvepackagejsonexports=false).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-ddd73d7c816fdfeaf4155343334043e337cdf7300c5573f0f12618c42e78fb2c
customConditions(resolvepackagejsonexports=false).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-6babcd1e53df9e2e40a636d028edf8c8dff029ce32b1987e6b35868358761071
customConditions(resolvepackagejsonexports=true).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-dfc8bd3ae59c97ca4c131ff52ce67ee03da19255867a0b678d1ae9c334be6b72
customConditions(resolvepackagejsonexports=true).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-89c18bfb54ad3f14091efcdfbf4dc42e515c5011070c48bfc09d97502f6ecf2c
emitHelpersWithLocalCollisions(module=node16).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-9a240e2d670e2ef5e0a02c263d2a54bdaa69bc9e4128130c3b515321e3523dde
emitHelpersWithLocalCollisions(module=nodenext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-d87743f93351d25e218401e3cf23935a2e97e8a7d3dc1269d28c2a4329250045
esmNoSynthesizedDefault(module=esnext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-4c7e624c0147aa3c4572b121b643545f10fadc41f24c7417167b69ad51daeda0
esmNoSynthesizedDefault(module=esnext).symbols https://github.com/microsoft/TypeScript/pull/58825/files#diff-13a750ff03312a5880470c1437250404f50f0a7709a1640f41669a5701cb030c
esmNoSynthesizedDefault(module=esnext).types https://github.com/microsoft/TypeScript/pull/58825/files#diff-322031861b292f4fee645ac3d43f179372aedd778783bee4f6299f1db8ccbfa9
esmNoSynthesizedDefault(module=preserve).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-5d3e075d00e7861d7b4425e1ada816a2f326cf0dce689d9133a25952abb1bac2
esmNoSynthesizedDefault(module=preserve).symbols https://github.com/microsoft/TypeScript/pull/58825/files#diff-a5c901cf043977024da4b9d066ad93baa02cb575239f247a332cb6b273416dd4
esmNoSynthesizedDefault(module=preserve).types https://github.com/microsoft/TypeScript/pull/58825/files#diff-3dbabdd94accce1390ae6c9ca777c5e18c8d1000fad75852d928ccd15ca087ac
impliedNodeFormatEmit1(module=amd).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-970a23de6c70e5ba77c47294876865aac9bfc305fde3dd35bb4768dc169759bf
impliedNodeFormatEmit1(module=amd).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-c56cccb90d0ee4d497ea3f7269fd23272e865fac9ee7045329f15678cc2be1bb
impliedNodeFormatEmit1(module=commonjs).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-2df16c6a3fe233ace4fc88ff442dec73af9b9929aad16dd36e4f5a0a03be3918
impliedNodeFormatEmit1(module=commonjs).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-bce9be465cd0b1ae7810533c73ab6564d450e18fd4931eb7c57625eec080569b
impliedNodeFormatEmit1(module=esnext).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-a01b9d9115fcf4ef53838e6e9c902fb1b6a93518e993407c427daf2a0d29ca60
impliedNodeFormatEmit1(module=esnext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-866599d0cfeb952dc6cf0a67f6e13ce6833608496ff8dc27a7e63e134f470c84
impliedNodeFormatEmit1(module=preserve).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-7855e58d17fc8052846765109cc8a0a5bec77212831a787488893b5a99b1afc4
impliedNodeFormatEmit1(module=system).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-98676c50273778bfcdd0b4d20512b4402324dc7ab19c3425e94331923511f804
impliedNodeFormatEmit1(module=system).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-e4ba33fefc2743a1b1f4fc851e5f0436f299d62630f7b9a631a84fff050f413d
impliedNodeFormatEmit1(module=umd).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-fa92b12fdc977add70c28c75b01c1658805a36e5d315e41037371b786c6077bf
impliedNodeFormatEmit1(module=umd).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-68e7d78ce1dc2228ca2366a825ff56440a923fec817a2675e922c65d00dc02aa
impliedNodeFormatEmit2(module=commonjs).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-842f367a6c894900bc1fe4c585b1c33e8cc964fef070c5eb0a0e6e4d852e896a
impliedNodeFormatEmit2(module=commonjs).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-8e11de580ea5fa7d80783e4e474a8f5b8685e5a02af6a986775786b5c34dca10
impliedNodeFormatEmit2(module=esnext).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-4c1fbf5ab8f93597168b878c6f6db0711a6be1b5268fec18b4f1defcb89ebe75
impliedNodeFormatEmit2(module=esnext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-6af81a597726331f9c9e68c4d29eced169c5b0943df56521a184a6e3109d46c5
impliedNodeFormatEmit2(module=preserve).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-943885e8a6a77bbf287dbc00f3d129d914567779d57c5af68fd3ed43df1ece2a
impliedNodeFormatEmit3(module=commonjs).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-68db0f797c83d428bf50de46cdbf28d4e3de8062737abb1346a69e7e4308ee7a
impliedNodeFormatEmit3(module=commonjs).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-87d161b19b38f5ac01a2d2dd98afd6f57c79bfbcec881e5fe00e40f511aaa24d
impliedNodeFormatEmit3(module=esnext).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-abc468eff6aad420e62d82fea672833c1efee1a1dec65b716a688d772c9ecb3e
impliedNodeFormatEmit3(module=esnext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-94827075ad549e283de36fe778c76d0c65e44e5e2d1dfb74a09d04babcfea4c5
impliedNodeFormatEmit3(module=preserve).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-733571a18f5309d5af9d616ff56adc87b22b194a934b1c92bf61ce80e64c969c
impliedNodeFormatEmit4(module=commonjs).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-432b3b21ddda267b98120ff1d319d9cc2d35d869178f9c1f7ce3e54ad0eb1885
impliedNodeFormatEmit4(module=commonjs).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-0ec6550193df9180b467ddc7a58fe40f6c7c31ccb74faf59ddff53123d6fbfb5
impliedNodeFormatEmit4(module=esnext).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-5f5de1f6512ad1d11bb770e9b5175498c3ebfcf9340141b855f92b453c06ab9f
impliedNodeFormatEmit4(module=esnext).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-1b894c0c768352468206e4afbecde6fa71e1b791f7bd0fc1f464e607fea179bf
impliedNodeFormatEmit4(module=preserve).js https://github.com/microsoft/TypeScript/pull/58825/files#diff-46fb918e89d2c3fe2893ade9852ebdfe1026edce5ca1045ed97329c23b7f0d03
impliedNodeFormatInterop1.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-cd81131eaa1ecfcc97ac798a8ff6cc9eb0baf7e16639bdeda0bc0ba8d5990f67
impliedNodeFormatInterop1.symbols https://github.com/microsoft/TypeScript/pull/58825/files#diff-fa490a8ae8bc94c3cdee4659a9c0ec6abdaee3656c4e4b1bd625a205aa623335
impliedNodeFormatInterop1.types https://github.com/microsoft/TypeScript/pull/58825/files#diff-901764f8606af70385544a2287705d3197af1189ed1d5f5fecff53998252fee6
modulePreserve4.errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-1bb2febaa609a1d41d049ca673e152a911f429d1a24bb189b2ace8e154b13da7
modulePreserve4.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-812444ed109976c92cf7b7973ddace50d6b59e6daf4f18b0173f2c575f05b880
modulePreserve4.symbols https://github.com/microsoft/TypeScript/pull/58825/files#diff-30958c4b691040c049abc1b996e2a7147e2fe0e0893e2ff3cde6461727c61fbc
modulePreserve4.types https://github.com/microsoft/TypeScript/pull/58825/files#diff-3ddca2cf3d718192a021fcbc7be907898cd4cfa814cc30a20913ac42ffb223b6
nestedPackageJsonRedirect(moduleresolution=bundler).trace.json https://github.com/microsoft/TypeScript/pull/58825/files#diff-7d2657471fb1ca0b40ac2fc24c22819ace317a8a6439fc66dadaff91f0d9533d
nodeModulesDeclarationEmitDynamicImportWithPackageExports.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-718d2553a9fc5c5ed5499b8c12b128bd287787ad843dc1679ef806826113151a
nodeNextModuleResolution1.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-9563d9e03b5ed47ac241d37b9dd9795255c6b812264b0ff5f413d646977d978d
nodeNextModuleResolution2.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-80388a163215648a72221901f26e8917c5743a01ace9de04a53522aa80c1cc4f
resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).errors.txt https://github.com/microsoft/TypeScript/pull/58825/files#diff-f14967878292c31a93e1e9d973fc68e1d64944aa66f950c50ebcb7e1a87e8587
alternateResult.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-038bcf0538e0574623bbe91125043a3d99f5d5dc42f3f76fee15a0efcca99391
default-import-interop-uses-referenced-project-settings.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-4911682d02916b155eb9330f20fb2ec926652a208e5cff58b4b710dff04ac2fe
with-nodeNext-resolution.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-18e0a5dba0261efca8e77b712f77af3d2e8f8a10ce5d38710d2bf7c04458305b
alternateResult.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-fea4a2d4b40976a8073fbe5ef75eab84c4a909d4c8e8bce3c171928202afe45d
diagnostics-from-cache.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-1ec455570a7e3eceb323c81b1e90dde923789948def48de924fb7334310898ce
completionsImport_jsModuleExportsAssignment.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-a329935ab414617a21f43b5e7f31ebb2cbdfa7ec01dfa2fa0c69b4d65de51c58
alternateResult.js https://github.com/microsoft/TypeScript/pull/58825/files#diff-7c557d84ba9ee0c370e57b2803ea8ee4a7f90153ec6c43019b06e66c15531af8
esmNoSynthesizedDefault.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-f88da106981158300305d6b390a620726e7526c6705bca9d3bc45d384363994f
impliedNodeFormatEmit1.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-0e7f27cb0e5e1400cd6e413b5174e6a3ca42d75537ec315d6c2ef0374d0577c8
impliedNodeFormatEmit2.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-d90f27a8c8cf4584180b1b2f428844545a1bb56a96a02db309ead03578f0e3a4
impliedNodeFormatEmit3.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-b4a0846c43e7d8b29ea77af36ecfe6fd97a7b2aceffa031df05ba52f65045fb4
impliedNodeFormatEmit4.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-ac7d9af961b2a5e4bf8a1d0d4e2abc59ec98334a654334c49d027bfdab96ebd5
impliedNodeFormatInterop1.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-a7bb54334b83d61a304875b84f54553ae17cfc63eb71338abcffe79f6d6781ab
modulePreserve4.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-dc401d21e6d65de07e046467beb4b60557aa91c665975b7b6e1024fdbab0df2c
conditionalExportsResolutionFallback.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-191366f6b7a2dd49adbeb6b86375989063e3eac0eac19005e1460312e624e497
customConditions.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-d5ad3f741910430d2474c5edf86ccb2a0adf930f05a8ba0f6fae1e1be9328e40
resolvesWithoutExportsDiagnostic1.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-ead945cfbb7a9ffe112e985d2a0014671fe36d6f6539c43f83a18f2a78325613
completionsImport_reExportDefault2.ts https://github.com/microsoft/TypeScript/pull/58825/files#diff-8995500b32d25e86e13275728b4eda3efa1ab474a1c0c507014df859ed07be5c
src/compiler/_namespaces/ts.tshttps://github.com/microsoft/TypeScript/pull/58825/files#diff-d9481fd8ef2a498b1984b082895f0e9506e8c6ff5f7a62587ea1929d97ef6d55
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/_namespaces/ts.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/58825/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/58825/files#diff-d9481fd8ef2a498b1984b082895f0e9506e8c6ff5f7a62587ea1929d97ef6d55
https://github.com/microsoft/TypeScript/pull/58825/files#diff-d9481fd8ef2a498b1984b082895f0e9506e8c6ff5f7a62587ea1929d97ef6d55
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/58825/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/checker.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
src/compiler/diagnosticMessages.jsonhttps://github.com/microsoft/TypeScript/pull/58825/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/diagnosticMessages.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/58825/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/58825/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
https://github.com/microsoft/TypeScript/pull/58825/files#diff-fdf3f532dc2d3188ad1c05c8c9e064d0aa4143b8ba09b8f3313a0243f0a43eff
src/compiler/emitter.tshttps://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/emitter.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/58825/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
https://github.com/microsoft/TypeScript/pull/58825/files#diff-537414476d7c7a690310c5e1e5d6a0bbbfba37c5b05126edee32fdea7e3a09d8
src/compiler/factory/utilities.tshttps://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/factory/utilities.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/58825/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
https://github.com/microsoft/TypeScript/pull/58825/files#diff-eec15993790638ba4d0521b25384fc7340cf0d4c86c4032c74ecc717b29f7ec9
src/compiler/moduleSpecifiers.tshttps://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
View file https://github.com/andrewbranch/TypeScript/blob/9d9a7a8c3f1d48bcaa646834126dc55ae4c59f3a/src/compiler/moduleSpecifiers.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/58825/{{ revealButtonHref }}
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
https://github.com/microsoft/TypeScript/pull/58825/files#diff-b5ccb4b5e07181a27fdff3766f67cf5d41b924119ea1bdf14467fb70a560ab6e
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58825/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.