Fix TS config in nodes

This commit is contained in:
Elias Meire 2024-09-26 11:47:50 +02:00
parent 269c6e70ef
commit 83c5da3ade
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,8 @@
"tsBuildInfoFile": "dist/typecheck.tsbuildinfo", "tsBuildInfoFile": "dist/typecheck.tsbuildinfo",
// TODO: remove all options below this line // TODO: remove all options below this line
"noImplicitReturns": false, "noImplicitReturns": false,
"useUnknownInCatchVariables": false "useUnknownInCatchVariables": false,
"preserveSymlinks": true
}, },
"include": ["credentials/**/*.ts", "nodes/**/*.ts", "test/**/*.ts", "utils/**/*.ts"], "include": ["credentials/**/*.ts", "nodes/**/*.ts", "test/**/*.ts", "utils/**/*.ts"],
"references": [ "references": [

View file

@ -1,6 +1,6 @@
import z, { type ZodOptional, type ZodType } from 'zod'; 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 { function isObject(value: unknown): value is object {
return typeof value === 'object' && value !== null && !Array.isArray(value); return typeof value === 'object' && value !== null && !Array.isArray(value);