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 - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -