Solved: Type 'typeof HomePage' has no properties in common with type 'Component'

Has anyone seen this before? Had this error:

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

What’s the code that it’s complaining about look like?

Re-lunched my browser and VScode and suddenly no more errors.

I created a variable as "homePage: Component;"
It was solve by changing it to “homePage: any;”


Thank you so much for this answer.
I uninstall all typescript, ionic and cordova and re-install their latest version. It works like a charm :smiley:

1 Like

Thanks mate,

It solved the issue for me.

1 Like

working perfect, thank you

1 Like

Glad to know it helped. :+1:

1 Like

Thanks…It worked for me too…

Am so glad about this solution “homePage: any;” it helped.