Can I refer to angular component class as a type? I see Ionic uses any
for components. Is it possible in Typescript to declare an argument type, that expects only component classes?
I saw this question, but components don't have anything in common in constructors: Passing class as parameter causes "is not newable" error
As it turns out this is not possible in TypeScript right now. Decorators cannot change type of a class, that means they are invisible for a type system.
More info can be found here: