1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-04 00:28:27 +03:00

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