Title: Suggestion: add excludeTypeRoots to tsconfig · Issue #18588 · microsoft/TypeScript · GitHub
Open Graph Title: Suggestion: add excludeTypeRoots to tsconfig · Issue #18588 · microsoft/TypeScript
X Title: Suggestion: add excludeTypeRoots to tsconfig · Issue #18588 · microsoft/TypeScript
Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) 2.5.2 It's a old issue that haven't resolve yet. #17242 #17042 Resubmit this for old ones are closed. Case Used many declaration in node_modules/Types (@types) @types/node bring so...
Open Graph Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) 2.5.2 It's a old issue that haven't resolve yet. #17242 #17042 Resubmit this for old ones are closed. Case Used many declaration in node_mod...
X Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) 2.5.2 It's a old issue that haven't resolve yet. #17242 #17042 Resubmit this for old ones are closed. Case Used many declaration in ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/18588
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: add excludeTypeRoots to tsconfig","articleBody":"\u003c!-- BUGS: Please use this template. -->\r\n\u003c!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n\u003c!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:** 2.4.0 / nightly (2.5.0-dev.201xxxxx)\r\n2.5.2\r\n\r\nIt's a old issue that haven't resolve yet.\r\n\r\n#17242 #17042\r\n\r\nResubmit this for old ones are closed.\r\n\r\n**Case**\r\n1. Used many declaration in node_modules/@types\r\n1. `@types/node` bring some compile error (it is a frontend project, but `@types/node` is a dependency of other package)\r\n1. So it need to disable `@types/node`, while other\r\n\r\n**Suggestion**\r\n1. Support `excludeTypeRoots` in `tsconfig.json`.\r\n1. `excludeTypeRoots` have higher prioiry than `typeRoots`","author":{"url":"https://github.com/k8w","@type":"Person","name":"k8w"},"datePublished":"2017-09-20T06:32:53Z","url":"https://github.com/microsoft/TypeScript/issues/18588"}
| 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:8d69ba00-cfb7-3e28-1595-b43ac332ffea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1A8:2652DC:103125B:14D0DF0:6B0101E9 |
| html-safe-nonce | 35f7879bb63a4288d694cb3485e81e746b03ee2dd30046dcfe9066d6803cfc8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUE4OjI2NTJEQzoxMDMxMjVCOjE0RDBERjA6NkIwMTAxRTkiLCJ2aXNpdG9yX2lkIjoiNTI2NTgwNTI4NzM4NTc5MzAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0282080ff10cbcc2db0db1b145230b2d274ccc3c7931c54d5cca84951592dea1 |
| hovercard-subject-tag | issue:259054377 |
| 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/18588/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b413024f5c4a88387da0a88a996c546a995264963f41c2592e5d3a7d601174f4/microsoft/TypeScript/issues/18588 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b413024f5c4a88387da0a88a996c546a995264963f41c2592e5d3a7d601174f4/microsoft/TypeScript/issues/18588 |
| og:image:alt | TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) 2.5.2 It's a old issue that haven't resolve yet. #17242 #17042 Resubmit this for old ones are closed. Case Used many declaration in node_mod... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | k8w |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width