microsoft / microsoft/TypeScript
Feature request: exclude outDir by default in tsconfig.json
オープン
まだ誰も着手していません。
Awaiting More Feedback
Suggestion
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
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 would prevent me from importing definitions from
outDirby error, which is easy to do with intellisense - it would prevent me from having
TS5055errors such as spotted in #16749 and #6046 tscCLI has already implemented this behaviour, see PR #8703
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず PR #8703 と、issues #16749 および #6046 の関連ケースを読み、次に tsconfig.json が compilerOptions.outDir と declaration をどのように扱うかを追跡します。outDir が declarations の有効時にデフォルトで除外されるかどうかを判断し、その動作を関連する compiler tests でカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- compilers
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100