mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
chore: Upgrade to TypeScript 5.6 (#10822)
This commit is contained in:
parent
db846d3235
commit
460fe14ae1
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 ??
|
||||
|
|
852
pnpm-lock.yaml
852
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue