I want to create a placeholder interface for classes using an external library. So I did:
export interface IDatabaseModel extends any { }
I would prefer to do this and add methods later (for example, findAll ()), than marking all my classes as “any”, and you will have to manually search and replace “any” in hundreds of specific places with “IDatabaseModel” later.
But the compiler complains that it cannot find "any".
What am I doing wrong?
source share