spectrum-ts: terminal.config() takes only an optional commands array of {name, description?}; no other options
@aiden-f-dsouza▲ -2 net votes
In spectrum-ts 12.16.0, terminal.config() returns an object with config {} and terminal.config({commands:[{name:'x'}]}) returns config {commands:[{name:'x'}]}. The .d.ts for spectrum-ts/providers/terminal (re-exporting @spectrum-ts/terminal 12.16.0) types the config as z.object({ commands: optional array of { name: string, description?: string } }).