fix: type _borderColorKey as 'dim' | 'bashMode' to match ThemeColor
Fixes TypeScript error: Argument of type 'string' is not assignable to parameter of type 'ThemeColor'
This commit is contained in:
parent
8d19f195d4
commit
92ef605fef
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ export class BashExecutionComponent extends Container {
|
|||
private expanded = false;
|
||||
private contentContainer: Container;
|
||||
private ui: TUI;
|
||||
private _borderColorKey: string;
|
||||
private _borderColorKey: "dim" | "bashMode";
|
||||
|
||||
constructor(command: string, ui: TUI, excludeFromContext = false) {
|
||||
super();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue