I am looking to develop a function that accepts a type created using export class
and imported in the traditional manner as an extension of a particular type. With a base Page
class and various derived classes, I aim to have this function capable of receiving the Page
, DerivedPage
, AnotherDerivedPage
classes (not instances), all while maintaining strong typing without resorting to any
.
What would be the best approach to achieve this?