Microsoft/TypeScript

Comment referencing an undefined `ClassDecoratorFunction` type

Open

#54,338 创建于 2023年5月21日

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

仓库指标

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

描述

Bug Report

🔎 Search Terms

ClassDecoratorFunction, decorators.d.ts, lib ClassDecoratorContext

🕗 Version & Regression Information

From https://github.com/microsoft/TypeScript/commit/5b1897969769449217237aecbe364f823096c63e

💻 Code

In https://github.com/microsoft/TypeScript/blob/b1ef88c882ca64c7dc6f4ba8b1c578a6a77981e5/src/lib/decorators.d.ts#L38 The ClassDecoratorFunction type is not defined.

贡献者指南