Problema de tipado

This commit is contained in:
2026-05-13 17:20:31 +02:00
parent d1e5892a0d
commit f94ee799d0

View File

@@ -9,7 +9,7 @@ import { EventBus } from "sim-shared/domain/EventBus.port.js";
import { Result } from "sim-shared/domain/Result.js"; import { Result } from "sim-shared/domain/Result.js";
import { SimAlaiController } from "./SimAlai.controller.js"; import { SimAlaiController } from "./SimAlai.controller.js";
type FuncType = ((m: ConsumeMessage) => Promise<Result<string, any>>) type FuncType = ((m: ConsumeMessage) => Promise<Result<{ msg: string, stackTrace?: string }, any>>)
export class SimAlaiRouter { export class SimAlaiRouter {
private readonly routes: Map<string, FuncType>; private readonly routes: Map<string, FuncType>;