Skip to content

Commit

Permalink
fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke committed Jul 27, 2023
1 parent 8f13135 commit b4aeb1b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/browser/Viewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/browser/renderer/dom/DomRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions src/browser/services/RenderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/common/services/BufferService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b4aeb1b

Please sign in to comment.