typescript - All declarations of 'IBaseReplyMessage' must have identical type parameters -


i trying create generics interface inheritance in typescript , following error:

all declarations of 'ibasereplymessage' must have identical type parameters. 

my code is:

export interface ibasereplymessage {     id: number;     timestamp: number; }  export interface ibasereplymessage<t> extends ibasereplymessage {     (arg: t): t; } 


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -