fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)

This commit is contained in:
Michael Kret
2023-02-28 05:39:43 +02:00
committed by GitHub
parent 3172ea376e
commit bb4db58819
560 changed files with 2227 additions and 1919 deletions

View File

@@ -72,7 +72,7 @@ export class RssFeedRead implements INodeType {
);
}
throw new NodeOperationError(this.getNode(), error);
throw new NodeOperationError(this.getNode(), error as Error);
}
const returnData: IDataObject[] = [];
@@ -80,7 +80,6 @@ export class RssFeedRead implements INodeType {
// For now we just take the items and ignore everything else
if (feed.items) {
feed.items.forEach((item) => {
// @ts-ignore
returnData.push(item);
});
}