fix: AnyComponent
type to support classes
#4479
Merged
AnyComponent
type to support classes
#4479