microsoft / microsoft/TypeScript

Support additional trace points

オープン
#40,460 コメント 0 件 リアクション 4 件 担当者 1 名 GitHub で見る

@jakebailey がすでに取り組んでいます。

2021年11月15日 から。

Rescheduled
主要言語
Go
スター
111k
フォーク
14.3k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

Search Terms

Tracing, Logging

Suggestion

In addition to the trace points introduced in #40063, we've had requests for optional tracing of

  • inferTypesFrom
  • invokeOnce
  • getAccessibleSymbolChain
  • typeToTypeNode
  • getIntersectionType
  • getUnionType
  • instantiateType

As a result, we will also require a mechanism for indicating which are active in any given run. (Consider mimicking the format used by the debug package.) However, the default should probably remain similar to what's in #40063 since performance analysis is the primary use case.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。