From 83c5da3adee3596ec38919950d9c43adeef306f2 Mon Sep 17 00:00:00 2001 From: Elias Meire Date: Thu, 26 Sep 2024 11:47:50 +0200 Subject: [PATCH] Fix TS config in nodes --- packages/nodes-base/tsconfig.json | 3 ++- packages/workflow/src/CredentialSchema/CredentialSchema.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/tsconfig.json b/packages/nodes-base/tsconfig.json index 791c03445e..fb9cabf55a 100644 --- a/packages/nodes-base/tsconfig.json +++ b/packages/nodes-base/tsconfig.json @@ -10,7 +10,8 @@ "tsBuildInfoFile": "dist/typecheck.tsbuildinfo", // TODO: remove all options below this line "noImplicitReturns": false, - "useUnknownInCatchVariables": false + "useUnknownInCatchVariables": false, + "preserveSymlinks": true }, "include": ["credentials/**/*.ts", "nodes/**/*.ts", "test/**/*.ts", "utils/**/*.ts"], "references": [ diff --git a/packages/workflow/src/CredentialSchema/CredentialSchema.ts b/packages/workflow/src/CredentialSchema/CredentialSchema.ts index 57b92035a7..4841b9ad96 100644 --- a/packages/workflow/src/CredentialSchema/CredentialSchema.ts +++ b/packages/workflow/src/CredentialSchema/CredentialSchema.ts @@ -1,6 +1,6 @@ import z, { type ZodOptional, type ZodType } from 'zod'; -import type { INodeProperties } from '@/Interfaces'; +import type { INodeProperties } from '../Interfaces'; function isObject(value: unknown): value is object { return typeof value === 'object' && value !== null && !Array.isArray(value);