diff --git a/API.md b/API.md index 17dd7bf..e575c78 100644 --- a/API.md +++ b/API.md @@ -37,7 +37,7 @@ export default class MyPlugin extends HTMLElement { ]; history: LogEntry[]; editCount: number = 0; - plugins: { menu: Plugin[], editor: Plugin[] }[]; + plugins: { menu: Record; editor: Record; }; locale: string = 'en'; } @@ -50,7 +50,6 @@ type LogEntry = { } type Plugin = { - name: string; translations?: Record; src: string; icon: string; // Material icon name or image URL