Typescript errors in example code from readme
whatbotisthis opened this issue · 0 comments
whatbotisthis commented
Looks like prepend may need to change from MenuItem[]
to MenuItemConstructorOptions[]
?
https://github.com/sindresorhus/electron-context-menu/blob/master/index.d.ts#L109
This change seems to clear up the TS errors regarding missing properties like checked, commandId, enabled, etc
.