microsoft / microsoft/TypeScript
@ts-ignore for the block scope and imports
オープン
まだ誰も着手していません。
Awaiting More Feedback
Suggestion
VS Code Tracked
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
currently @ts-ignore only mutes the errors from the line immediately below it
would be great to have the same for
- the whole next block
- also for all imports
use case:
refactoring: commenting out a piece of code to see what would break without it, yet avoiding to deal with the errors in the file where commented code is which can be many
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue ではファイル、テスト、エントリポイントが指定されていないため、まず既存の @ts-ignore の処理とそのテストを見つけます。抑制を次のブロックと imports にどのように適用するかを定義し、それらのスコープ内のエラーが抑制されることを、現在の行単位の動作を変更せずに確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- compilers
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100