feat: Upgrade nodes-base package to use modern tsconfig.json (no-changelog) (#16884)

This commit is contained in:
Alex Grozav
2025-07-04 14:55:39 +03:00
committed by GitHub
parent 5733999de5
commit d754ce922d
37 changed files with 165 additions and 143 deletions

View File

@@ -4,6 +4,7 @@ import {
type AssignmentCollectionValue,
type IExecuteFunctions,
type INodeTypes,
type NodeParameterValueType,
} from 'n8n-workflow';
import { GoogleSheet } from '../../Google/Sheet/v2/helpers/GoogleSheet';
@@ -62,7 +63,7 @@ describe('Test Evaluation', () => {
sheetMode: 'id',
operation: 'setOutputs',
};
return mockParams[key] ?? fallbackValue;
return (mockParams[key] ?? fallbackValue) as NodeParameterValueType;
},
);
@@ -88,7 +89,7 @@ describe('Test Evaluation', () => {
sheetMode: 'id',
operation: 'setOutputs',
};
return mockParams[key] ?? fallbackValue;
return (mockParams[key] ?? fallbackValue) as NodeParameterValueType;
},
);
@@ -125,7 +126,7 @@ describe('Test Evaluation', () => {
sheetMode: 'id',
operation: 'setOutputs',
};
return mockParams[key] ?? fallbackValue;
return (mockParams[key] ?? fallbackValue) as NodeParameterValueType;
},
);
mockExecuteFunctions.getParentNodes.mockReturnValue([]);
@@ -152,7 +153,7 @@ describe('Test Evaluation', () => {
sheetMode: 'id',
operation: 'setOutputs',
};
return mockParams[key] ?? fallbackValue;
return (mockParams[key] ?? fallbackValue) as NodeParameterValueType;
},
);
@@ -299,7 +300,7 @@ describe('Test Evaluation', () => {
const mockParams: { [key: string]: unknown } = {
operation: 'checkIfEvaluating',
};
return mockParams[key] ?? fallbackValue;
return (mockParams[key] ?? fallbackValue) as NodeParameterValueType;
},
);
});