export interface IDDMenuItem { [key: string]: object extends { disabled:boolean,label:string, type:string}}
This way not seems to be legit -
Getting these errors:
Return type of index signature from exported interface has or is using private name ''.Return type of index signature from exported interface has or is using private name ''.'?' expected.
Looking for the proper way of extending properties.