Type 'X' has no properties in common with type 'Y'

Viewed 56898

I updated typescript to version 2.5.3. Now I get many typings errors. I have following simplified situation:

export interface IClassHasMetaImplements {
    prototype?: any;
}

export class UserPermissionModel implements IClassHasMetaImplements {
    public test() {
    }
}

This code statment raise the following error: error TS2559: Type 'UserPermissionModel' has no properties in common with type 'IClassHasMetaImplements'.

Could anyone help me resolving this problem.

Thanks!

1 Answers
Related