Brought back FunctionStyleClass marked as deprecated

This commit is contained in:
Napalys Klicius
2025-05-01 09:18:44 +02:00
parent 9bab59363c
commit c7d764f666

View File

@@ -1236,6 +1236,8 @@ module ClassNode {
func instanceof AbstractCallable // the join-order goes bad if `func` has type `AbstractFunction`.
}
deprecated class FunctionStyleClass = StandardClassNode;
/**
* A function definition, targeted by a `new`-call or with prototype manipulation, seen as a `ClassNode` instance.
* Or An ES6 class as a `ClassNode` instance.