diff --git a/packages/cli/src/telemetry/index.ts b/packages/cli/src/telemetry/index.ts index 0138fb03ec..fb4f53460d 100644 --- a/packages/cli/src/telemetry/index.ts +++ b/packages/cli/src/telemetry/index.ts @@ -186,13 +186,11 @@ export class Telemetry { async track(eventName: string, properties?: IDataObject): Promise { return new Promise((resolve) => { if (this.client) { - // @ts-ignore this.client.track( { userId: this.instanceId, anonymousId: '000000000000', event: eventName, - // @ts-ignore properties, }, resolve, diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index a603b7e8d0..aa44bc610f 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -11,7 +11,6 @@ "module": "commonjs", "noImplicitAny": true, "removeComments": true, - "skipLibCheck": true, "strictNullChecks": true, "forceConsistentCasingInFileNames": true, "noImplicitReturns": true, diff --git a/packages/editor-ui/src/components/CodeEdit.vue b/packages/editor-ui/src/components/CodeEdit.vue index 0e05cb4ce9..ad2eb3417d 100644 --- a/packages/editor-ui/src/components/CodeEdit.vue +++ b/packages/editor-ui/src/components/CodeEdit.vue @@ -39,7 +39,7 @@ export default mixins( workflowHelpers, ).extend({ name: 'CodeEdit', - props: ['codeAutocomplete', 'dialogVisible', 'parameter', 'type', 'value'], + props: ['codeAutocomplete', 'parameter', 'type', 'value'], data() { return { monacoInstance: null as monaco.editor.IStandaloneCodeEditor | null, @@ -142,7 +142,7 @@ export default mixins( const workflow = this.getWorkflow(); const activeNode: INodeUi | null = this.$store.getters.activeNode; const parentNode = workflow.getParentNodes(activeNode!.name, inputName, 1); - const inputIndex = workflow.getNodeConnectionOutputIndex(activeNode.name, parentNode[0]); + const inputIndex = workflow.getNodeConnectionOutputIndex(activeNode!.name, parentNode[0]) || 0; const autocompleteData: string[] = []; @@ -157,8 +157,8 @@ export default mixins( }; } else { runExecutionData = executionData.data; - if (runExecutionData.resultData.runData[activeNode.name]) { - runIndex = runExecutionData.resultData.runData[activeNode.name].length - 1; + if (runExecutionData.resultData.runData[activeNode!.name]) { + runIndex = runExecutionData.resultData.runData[activeNode!.name].length - 1; } } @@ -240,10 +240,6 @@ export default mixins(