fix eslint warnings

This commit is contained in:
Simon Siefke
2023-07-27 13:29:02 +02:00
parent 8f1313519f
commit b4aeb1b3e7
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export class Viewport extends Disposable implements IViewport {
@ICharSizeService private readonly _charSizeService: ICharSizeService,
@IRenderService private readonly _renderService: IRenderService,
@ICoreBrowserService private readonly _coreBrowserService: ICoreBrowserService,
@IThemeService themeService: IThemeService
@IThemeService public themeService: IThemeService
) {
super();
+1 -1
View File
@@ -48,7 +48,7 @@ export class DomRenderer extends Disposable implements IRenderer {
private readonly _screenElement: HTMLElement,
private readonly _viewportElement: HTMLElement,
private readonly _linkifier2: ILinkifier2,
@IInstantiationService instantiationService: IInstantiationService,
@IInstantiationService public instantiationService: IInstantiationService,
@ICharSizeService private readonly _charSizeService: ICharSizeService,
@IOptionsService private readonly _optionsService: IOptionsService,
@IBufferService private readonly _bufferService: IBufferService,
+5 -5
View File
@@ -55,12 +55,12 @@ export class RenderService extends Disposable implements IRenderService {
constructor(
private _rowCount: number,
screenElement: HTMLElement,
@IOptionsService optionsService: IOptionsService,
@IOptionsService public optionsService: IOptionsService,
@ICharSizeService private readonly _charSizeService: ICharSizeService,
@IDecorationService decorationService: IDecorationService,
@IBufferService bufferService: IBufferService,
@ICoreBrowserService coreBrowserService: ICoreBrowserService,
@IThemeService themeService: IThemeService
@IDecorationService public decorationService: IDecorationService,
@IBufferService public bufferService: IBufferService,
@ICoreBrowserService public coreBrowserService: ICoreBrowserService,
@IThemeService public themeService: IThemeService
) {
super();
+1 -1
View File
@@ -32,7 +32,7 @@ export class BufferService extends Disposable implements IBufferService {
/** An IBufferline to clone/copy from for new blank lines */
private _cachedBlankLine: IBufferLine | undefined;
constructor(@IOptionsService optionsService: IOptionsService) {
constructor(@IOptionsService public optionsService: IOptionsService) {
super();
this.cols = Math.max(optionsService.rawOptions.cols || 0, MINIMUM_COLS);
this.rows = Math.max(optionsService.rawOptions.rows || 0, MINIMUM_ROWS);