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

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -