-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update typescript version to 5.1.6 #4612
Conversation
src/browser/Viewport.ts
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why were these public
s added? They aren't needed as properties, only ctor args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's weird as we explicitly say don't consider constructors:
Lines 62 to 70 in b4aeb1b
"@typescript-eslint/explicit-member-accessibility": [ | |
"warn", | |
{ | |
"accessibility": "explicit", | |
"overrides": { | |
"constructors": "off" | |
} | |
} | |
], |
We might need to update eslint, @typescript-eslint and/or that rule to be compatible with the new TS version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That worked! I updated eslint
, @typescript-eslint/eslint-plugin
and @typescript-eslint/parser
to the latest version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm if CI passes, thanks
required for CssStyleSheet typings needed in #4611