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 { initTRPC } from "@trpc/server";
|
||||||
import EventEmitter, { on } from "node:events";
|
import { EventEmitter, on } from "node:events";
|
||||||
import { getConfig } from "./config";
|
import { getConfig } from "./config";
|
||||||
import { errorMessage } from "@/lib/utils/error";
|
import { errorMessage } from "@/lib/utils/error";
|
||||||
import {
|
import {
|
||||||
|
|||||||
@ -10,9 +10,9 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"ignoreDeprecations": "6.0",
|
"ignoreDeprecations": "6.0",
|
||||||
"baseUrl": "src/",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./*"]
|
"@/*": ["./src/*"]
|
||||||
},
|
},
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user