-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
You can find the definition of ClassDeclaration here. Note that there doesn't exist a field for decorators even though it exists for several other nodes such as ClassAccessorProperty and ClassMethod.
However, it is possible to have a class decorator such as the following:
@sealed
class BugReport {
type = "report";
title: string;
constructor(t: string) {
this.title = t;
}
}
In this case, the decorators field does exist on ClassDeclaration. Can we update the types to reflect this?
andrew-pledge-io and UnrefinedBrain
Metadata
Metadata
Assignees
Labels
No labels