[ts] Type 'typeof HomePage' has no properties in common with type 'Component'

[ts] Type ‘typeof HomePage’ has no properties in common with type ‘Component’