Microsoft/TypeScript

Comment referencing an undefined `ClassDecoratorFunction` type

Open

#54 338 ouverte le 21 mai 2023

Voir sur GitHub
 (1 commentaire) (4 réactions) (0 assignés)TypeScript (6 726 forks)batch import
BugDomain: DecoratorsHelp Wanted

Métriques du dépôt

Stars
 (48 455 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (9 PRs mergées en 30 j)

Description

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.

Guide contributeur