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:
parent
7aa84fd41e
commit
c996e772c8
@ -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 {
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"ignoreDeprecations": "6.0",
|
||||
"baseUrl": "src/",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./*"]
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"noEmit": true,
|
||||
"incremental": true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user