mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 22:14:55 +00:00
lint typescript-eslint/consistent-indexed-object-style
This commit is contained in:
@@ -37,7 +37,7 @@ export interface Shell {
|
||||
name?: string
|
||||
command: string
|
||||
args?: string[]
|
||||
env: {[id: string]: string}
|
||||
env: Record<string, string>
|
||||
|
||||
/**
|
||||
* Base path to which shell's internal FS is relative
|
||||
|
@@ -331,7 +331,7 @@ export class Session extends BaseSession {
|
||||
/** @hidden */
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class SessionsService {
|
||||
sessions: {[id: string]: BaseSession} = {}
|
||||
sessions: Record<string, BaseSession> = {}
|
||||
logger: Logger
|
||||
private lastID = 0
|
||||
|
||||
|
@@ -16,7 +16,7 @@ try {
|
||||
// WSL Distribution List
|
||||
// https://docs.microsoft.com/en-us/windows/wsl/install-win10#install-your-linux-distribution-of-choice
|
||||
/* eslint-disable quote-props */
|
||||
const wslIconMap: { [key: string]: string } = {
|
||||
const wslIconMap: Record<string, string> = {
|
||||
'Alpine': require('../icons/alpine.svg'),
|
||||
'Debian': require('../icons/debian.svg'),
|
||||
'kali-linux': require('../icons/linux.svg'),
|
||||
|
Reference in New Issue
Block a user