Microsoft/TypeScript

Doc comment applied to all components of dotted namespace declaration

Open

#13,855 创建于 2017年2月2日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (6,726 fork)batch import
BugDomain: JSDocHelp Wanted

仓库指标

Star
 (48,455 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 9 个 PR)

描述

TypeScript Version: 2.1.5, 2.2-rc

Code

/** Performance measurements for the compiler. */
namespace ts.performance {}

Expected behavior: The doc comment should show up in quickinfo/completion for references to the innermost declared namespace performance, but not for ts.

Actual behavior: The doc comment appears in quickinfo/completion for references to both performance and ts, even though for the outer namespace ts it's most likely irrelevant: jsdoc

贡献者指南