Recursive property in inspector

Hi! I need to nest my component. I think CC wont let me do it. Is there any workaround?

@ccclass('A')
export class A extends Component {
    @property([A])
    properties: A[] = []
}

No, because you use A before it’s fully declared.

You should separate the class into two