| 14 | // built-in types |
| 15 | |
| 16 | interface Action { |
| 17 | id?: string |
| 18 | name: string | (() => string) |
| 19 | legend?: string | (() => string) |
| 20 | tags?: string[] |
| 21 | icon?: string |
| 22 | group?: string | (() => string) |
| 23 | hidden?: boolean |
| 24 | perform?: (id?: string) => any |
| 25 | } |
| 26 | |
| 27 | interface CommandBar { |
| 28 | addAction: (action: Action) => void |
nothing calls this directly
no outgoing calls
no test coverage detected