chore: Upgrade to TypeScript 5.6 (#10822)

This commit is contained in:
Iván Ovejero 2024-09-16 10:29:28 +02:00 committed by GitHub
parent db846d3235
commit 460fe14ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 430 additions and 427 deletions

View file

@ -73,7 +73,7 @@
"semver": "^7.5.4",
"tslib": "^2.6.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.5.2",
"typescript": "^5.6.2",
"ws": ">=8.17.1"
},
"patchedDependencies": {

View file

@ -115,6 +115,7 @@ export class E2EController {
) {
license.isFeatureEnabled = (feature: BooleanLicenseFeature) =>
this.enabledFeatures[feature] ?? false;
// @ts-expect-error Overriding method
// eslint-disable-next-line @typescript-eslint/unbound-method
license.getFeatureValue<NumericLicenseFeature> = (feature: NumericLicenseFeature) =>
this.numericFeatures[feature] ?? UNLIMITED_LICENSE_QUOTA;

View file

@ -2926,6 +2926,7 @@ export default defineComponent({
}
if (
// @ts-expect-error Deprecated file
// eslint-disable-next-line no-constant-binary-expression
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
this.isReadOnlyRoute ??
@ -2965,6 +2966,7 @@ export default defineComponent({
}
if (
// @ts-expect-error Deprecated file
// eslint-disable-next-line no-constant-binary-expression
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
this.isReadOnlyRoute ??

File diff suppressed because it is too large Load diff