Ende.lint.ClassExpression
interface ยท experimental
interface Ende.lint.ClassExpressionSimilar to ClassDeclaration but for declaring a class as an expression. The main difference is that the class name(=id) can be omitted.
Properties
type
type: "ClassExpression"range
range: Rangedeclare
declare: booleanabstract
abstract: booleanid
id: Identifier | nullsuperClass
superClass: ArrayExpression | ArrayPattern | ArrowFunctionExpression | CallExpression | ClassExpression | FunctionExpression | Identifier | JSXElement | JSXFragment | Literal | TemplateLiteral | MemberExpression | MetaProperty | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSNonNullExpression | TSTypeAssertion | nullsuperTypeArguments
superTypeArguments: TSTypeParameterInstantiation | undefinedtypeParameters
typeParameters: TSTypeParameterDeclaration | undefinedimplements
implements: TSClassImplements[]body
body: ClassBodyparent
parent: Node