Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(api/tsconfig): remove baseUrl (#2078)

Gergő Móricza837b5319c75
diff --git a/apps/api/src/__tests__/snips/v1/webhook.test.ts b/apps/api/src/__tests__/snips/v1/webhook.test.ts
index 21f3f60ef..5ef16104a 100644
--- a/apps/api/src/__tests__/snips/v1/webhook.test.ts
+++ b/apps/api/src/__tests__/snips/v1/webhook.test.ts
@@ -1,8 +1,8 @@
// import { crawl, batchScrape, idmux, Identity } from "./lib";
// import Express from "express";
// import bodyParser from "body-parser";
-// import type { WebhookEventType } from "src/types";
-// import type { Document } from "src/controllers/v1/types";
+// import type { WebhookEventType } from "../../../types";
+// import type { Document } from "../../../controllers/v1/types";
// const WEBHOOK_PORT_CRAWL = 3008;
// const WEBHOOK_PORT_BATCH_SCRAPE = 3009;
diff --git a/apps/api/src/__tests__/snips/v2/webhook.test.ts b/apps/api/src/__tests__/snips/v2/webhook.test.ts
index e6e2c6058..17f7d93f3 100644
--- a/apps/api/src/__tests__/snips/v2/webhook.test.ts
+++ b/apps/api/src/__tests__/snips/v2/webhook.test.ts
@@ -1,8 +1,8 @@
// import { crawl, batchScrape, idmux, Identity } from "./lib";
// import Express from "express";
// import bodyParser from "body-parser";
-// import type { WebhookEventType } from "src/types";
-// import type { Document } from "src/controllers/v1/types";
+// import type { WebhookEventType } from "../../../types";
+// import type { Document } from "../../../controllers/v1/types";
// const WEBHOOK_PORT_CRAWL = 3008;
// const WEBHOOK_PORT_BATCH_SCRAPE = 3009;
diff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.json
index 0bdf4200c..b28b89b70 100644
--- a/apps/api/tsconfig.json
+++ b/apps/api/tsconfig.json
@@ -11,7 +11,6 @@
"sourceMap": true,
"outDir": "./dist/src",
"moduleResolution": "NodeNext",
- "baseUrl": ".",
"strictNullChecks": true,
"inlineSources": true,