refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-22 17:40:52 +02:00
committed by GitHub
parent d9616fc36f
commit 2bdc459bb2
98 changed files with 126 additions and 156 deletions

View File

@@ -3,7 +3,7 @@ import { ExpressionError } from 'n8n-workflow';
function buildSecretsValueProxy(value: IDataObject): unknown {
return new Proxy(value, {
get(target, valueName) {
get(_target, valueName) {
if (typeof valueName !== 'string') {
return;
}
@@ -27,7 +27,7 @@ export function getSecretsProxy(additionalData: IWorkflowExecuteAdditionalData):
return new Proxy(
{},
{
get(target, providerName) {
get(_target, providerName) {
if (typeof providerName !== 'string') {
return {};
}
@@ -35,7 +35,7 @@ export function getSecretsProxy(additionalData: IWorkflowExecuteAdditionalData):
return new Proxy(
{},
{
get(target2, secretName) {
get(_target2, secretName) {
if (typeof secretName !== 'string') {
return;
}