Fix EventEmitter import and tsconfig paths

Update the EventEmitter import to use named import syntax.
Correct tsconfig baseUrl and paths mapping to properly resolve
`@/*` aliases from the project root.
This commit is contained in:
CPTProgrammer
2026-07-13 10:00:20 +08:00
parent 7aa84fd41e
commit c996e772c8
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { initTRPC } from "@trpc/server";
import EventEmitter, { on } from "node:events";
import { EventEmitter, on } from "node:events";
import { getConfig } from "./config";
import { errorMessage } from "@/lib/utils/error";
import {