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
Post a Comment