private service constructors

This commit is contained in:
Eugene Pankov
2020-03-16 22:30:11 +01:00
parent 9e862772eb
commit baaebb402e
21 changed files with 21 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ import { XTermFrontend, XTermWebGLFrontend } from './frontends/xtermFrontend'
],
})
export default class TerminalModule { // eslint-disable-line @typescript-eslint/no-extraneous-class
constructor (
private constructor (
app: AppService,
config: ConfigService,
hotkeys: HotkeysService,

View File

@@ -332,7 +332,7 @@ export class SessionsService {
logger: Logger
private lastID = 0
constructor (
private constructor (
log: LogService,
) {
require('../bufferizedPTY')(nodePTY) // eslint-disable-line @typescript-eslint/no-var-requires

View File

@@ -19,7 +19,7 @@ export class TerminalService {
get shells$ (): Observable<Shell[]> { return this.shells }
/** @hidden */
constructor (
private constructor (
private app: AppService,
private config: ConfigService,
private uac: UACService,

View File

@@ -10,7 +10,7 @@ export class TerminalFrontendService {
private containers = new WeakMap<BaseSession, Frontend>()
/** @hidden */
constructor (
private constructor (
private config: ConfigService,
private themes: ThemesService,
private hotkeys: HotkeysService,

View File

@@ -8,7 +8,7 @@ import { SessionOptions } from '../api/interfaces'
export class UACService {
isAvailable = false
constructor (
private constructor (
private electron: ElectronService,
) {
this.isAvailable = isWindowsBuild(WIN_BUILD_CONPTY_SUPPORTED)