From a9b496f06f48edaebd0d6b5b368e7b1914b1f849 Mon Sep 17 00:00:00 2001 From: Megan Rogge Date: Tue, 8 Feb 2022 21:18:31 -0600 Subject: [PATCH] Update src/browser/services/DecorationService.ts Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com> --- src/browser/services/DecorationService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/services/DecorationService.ts b/src/browser/services/DecorationService.ts index 992cd339..cc059d21 100644 --- a/src/browser/services/DecorationService.ts +++ b/src/browser/services/DecorationService.ts @@ -61,9 +61,9 @@ export class DecorationService extends Disposable implements IDecorationService export const IDecorationService = createDecorator('DecorationService'); class Decoration extends Disposable implements IDecoration { private static _nextId = 1; - private _marker: IMarker; + private readonly _marker: IMarker; private _element: HTMLElement | undefined; - private _id: number = Decoration._nextId++; + private readonly _id: number = Decoration._nextId++; public isDisposed: boolean = false; public get id(): number { return this._id; }