Title: Better default experience when using a tsconfig file with no "files" property. · Issue #3289 · microsoft/TypeScript · GitHub
Open Graph Title: Better default experience when using a tsconfig file with no "files" property. · Issue #3289 · microsoft/TypeScript
X Title: Better default experience when using a tsconfig file with no "files" property. · Issue #3289 · microsoft/TypeScript
Description: When using a tsconfig file with no files property all declaration files under node_modules are currently pulled in. This is especially problematic if typescript itself resides under node_modules since you wind up with duplicate identifie...
Open Graph Description: When using a tsconfig file with no files property all declaration files under node_modules are currently pulled in. This is especially problematic if typescript itself resides under node_modules si...
X Description: When using a tsconfig file with no files property all declaration files under node_modules are currently pulled in. This is especially problematic if typescript itself resides under node_modules si...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/3289
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Better default experience when using a tsconfig file with no \"files\" property.","articleBody":"When using a tsconfig file with no `files` property all declaration files under node_modules are currently pulled in. This is especially problematic if typescript itself resides under node_modules since you wind up with duplicate identifiers from `lib.core.d.ts` and `lib.core.es6.d.ts`, etc. I realize this is partially taken care of with #3043 and #3188 but I'm wondering if there should be a special default case of excluding typescript declaration files. Plugins for JS toolchains like [gulp-typescript](https://github.com/ivogabe/gulp-typescript/blob/master/package.json) and [ts-loader](https://github.com/jbrantly/ts-loader/blob/master/package.json) pull in typescript locally so this becomes an issue there.\n\nEdit: Repro steps for TS 1.5 beta\n1. `mkdir test`\n2. `cd test`\n3. `npm install typescript` (install locally, not globally)\n4. `touch tsconfig.json`\n5. `./node_modules/typescript/bin/tsc`\n","author":{"url":"https://github.com/jbrantly","@type":"Person","name":"jbrantly"},"datePublished":"2015-05-28T03:23:05Z","url":"https://github.com/microsoft/TypeScript/issues/3289"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d9e3bb3-a32e-193a-ea03-82ecc2a9b5c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABBA:2F4BD9:D2E68C:117A6E6:6B00F7F4 |
| html-safe-nonce | 53c9038297a1719938b719abc29f7f628495b90564ab7a6b3fcb0cbd6895f34a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkJBOjJGNEJEOTpEMkU2OEM6MTE3QTZFNjo2QjAwRjdGNCIsInZpc2l0b3JfaWQiOiI4MzM0ODcwMzYzMTI1MTE4OTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 300e34166ca0778623952ae169361508f1d2e65f576916d9a5788cc4a3d640d8 |
| hovercard-subject-tag | issue:81736263 |
| 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/_view_fragments/issues/show/microsoft/TypeScript/3289/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37e9c12c23f8e263b3a104dd172bb94dac746436171954aca1a36ad3a215ad4f/microsoft/TypeScript/issues/3289 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37e9c12c23f8e263b3a104dd172bb94dac746436171954aca1a36ad3a215ad4f/microsoft/TypeScript/issues/3289 |
| og:image:alt | When using a tsconfig file with no files property all declaration files under node_modules are currently pulled in. This is especially problematic if typescript itself resides under node_modules si... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jbrantly |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| 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 | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width