chore: standardize tsconfig (#9568)

This commit is contained in:
forehalo
2025-01-08 04:07:56 +00:00
parent 39f4b17315
commit c0ed74dfed
151 changed files with 1041 additions and 1566 deletions

View File

@@ -47,7 +47,7 @@ export class CaptchaService {
body: formData,
method: 'POST',
});
const outcome = await result.json();
const outcome: any = await result.json();
return (
!!outcome.success &&

View File

@@ -23,7 +23,7 @@ export class CopilotWorkflowService {
const node = workflow.get(nodeData.id);
if (!node) {
this.logger.error(
`Failed to init workflow ${name}: node ${nodeData.id} not found`
`Failed to init workflow ${graph.name}: node ${nodeData.id} not found`
);
throw new Error(`Node ${nodeData.id} not found`);
}
@@ -31,7 +31,7 @@ export class CopilotWorkflowService {
const edge = workflow.get(edgeId);
if (!edge) {
this.logger.error(
`Failed to init workflow ${name}: edge ${edgeId} not found in node ${nodeData.id}`
`Failed to init workflow ${graph.name}: edge ${edgeId} not found in node ${nodeData.id}`
);
throw new Error(`Edge ${edgeId} not found`);
}