mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Fix TS config in nodes
This commit is contained in:
parent
269c6e70ef
commit
83c5da3ade
|
@ -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": [
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue