Title: Feature request: exclude outDir by default in tsconfig.json · Issue #20108 · microsoft/TypeScript · GitHub
Open Graph Title: Feature request: exclude outDir by default in tsconfig.json · Issue #20108 · microsoft/TypeScript
X Title: Feature request: exclude outDir by default in tsconfig.json · Issue #20108 · microsoft/TypeScript
Description: Scenario: As a user, I want typescript compiler to default-exclude output transpiled files to compilerOptions.outDir with compilerOptions.declaration property set to true. I would expect that outDir is excluded by default, because: it wo...
Open Graph Description: Scenario: As a user, I want typescript compiler to default-exclude output transpiled files to compilerOptions.outDir with compilerOptions.declaration property set to true. I would expect that outDi...
X Description: Scenario: As a user, I want typescript compiler to default-exclude output transpiled files to compilerOptions.outDir with compilerOptions.declaration property set to true. I would expect that outDi...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/20108
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request: exclude outDir by default in tsconfig.json","articleBody":"**Scenario**: As a user, I want typescript compiler to default-exclude output transpiled files to `compilerOptions.outDir` with `compilerOptions.declaration` property set to `true`. I would expect that `outDir` is excluded by default, because: \r\n- it would prevent me from importing definitions from `outDir` by error, which is easy to do with intellisense\r\n- it would prevent me from having `TS5055` errors such as spotted in #16749 and #6046\r\n- `tsc` CLI has already implemented this behaviour, see PR #8703\r\n","author":{"url":"https://github.com/jsamr","@type":"Person","name":"jsamr"},"datePublished":"2017-11-17T19:36:19Z","url":"https://github.com/microsoft/TypeScript/issues/20108"}
| 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:80af017d-fc45-596c-d7f8-95cdaaed55f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C54A:11EACE:DCBDCC:1276697:6B010402 |
| html-safe-nonce | 1c503bff4b1f1024c6e99e2fe85d92ea08dee7b84c4a76f39420f1dae3eb3b67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTRBOjExRUFDRTpEQ0JEQ0M6MTI3NjY5Nzo2QjAxMDQwMiIsInZpc2l0b3JfaWQiOiIyNDgxNTcxNzEzODg4ODc5NjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b6fce368f298204d7394d857e84462038144365db25c7e0f2a3a396a73979220 |
| hovercard-subject-tag | issue:274973826 |
| 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/20108/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4e221dfa259aaf66b80cb0f450c8b091f91168cf72971e312aee859fcd809830/microsoft/TypeScript/issues/20108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4e221dfa259aaf66b80cb0f450c8b091f91168cf72971e312aee859fcd809830/microsoft/TypeScript/issues/20108 |
| og:image:alt | Scenario: As a user, I want typescript compiler to default-exclude output transpiled files to compilerOptions.outDir with compilerOptions.declaration property set to true. I would expect that outDi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsamr |
| 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