mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts * 🔥 Remove TSLint config * 🔥 Remove TSLint exceptions * 👕 Adjust lint config * ✏️ Add story numbers
This commit is contained in:
@@ -37,7 +37,6 @@ export class SseTrigger implements INodeType {
|
||||
const eventSource = new EventSource(url);
|
||||
|
||||
eventSource.onmessage = (event) => {
|
||||
// tslint:disable-next-line:no-any
|
||||
const eventData = jsonParse<any>(event.data, { errorMessage: 'Invalid JSON for event data' });
|
||||
this.emit([this.helpers.returnJsonArray([eventData])]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user