microsoft / microsoft/TypeScript
Overloads do not emit JSDoc on non-implementation signatures
オープン
まだ誰も着手していません。
Domain: Comment Emit
Experience Enhancement
Suggestion
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms:
Code
.ts file
/**
* this will lost
*/
function a()
function a() { }
/**
* this will keep
*/
function b() { }
function c()
/**
* this will keep, but i don't think this is good way
*/
function c() { }
Expected behavior:
all will keep
/**
* this will lost
*/
function a() { }
/**
* this will keep
*/
function b() { }
/**
* this will keep, but i don't think this is good way
*/
function c() { }
Actual behavior:
a is lost
output .js file
function a() { }
/**
* this will keep
*/
function b() { }
/**
* this will keep, but i don't think this is good way
*/
function c() { }
and when it at .d.ts
- a will keep
- b will keep too
- but c will lost
Related Issues:
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
提供されている .ts のオーバーロード例、またはリンク先の TypeScript Playground から始め、報告されている TypeScript バージョンを使用して、生成された .js と .d.ts の出力を比較します。実装ではないオーバーロードシグネチャの JSDoc が、関連する出力で一貫して保持されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100