microsoft / microsoft/TypeScript
tsc utility freezes
オープン
まだ誰も着手していません。
Needs Investigation
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
Bug Report
⏯ Playground Link
Playground link with relevant code
🙁 Actual behavior
I have a project using graphql. Together with him I use a package for code generation. A large file with types is generated. Based on one of the types, I want to make a form in react-hook-form. It works great until you need to extend this type.
If you comment out the 12th line in the src/test file, then tsc will work, otherwise it freeze
when logs are turned on, the problem disappears

🙂 Expected behavior
tsc not freezes :)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンク先のCodeSandboxから始め、src/test.tsxでフリーズを再現し、12行目をコメントアウトした場合と動作を比較してください。ログを有効にすると結果が変わる理由を調査してください。提供された例でtscがフリーズせずに完了すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, react, typescript
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100