From 69348ea85591ba3d697392d38752519bb51d162f Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 7 Oct 2025 14:33:22 +0200 Subject: [PATCH] Fix bad import, remove baseUrl from tsconfig to enable ts7 compat --- .../schemas/responses/AccountStandingResponse.ts | 1 - tsconfig.json | 15 ++++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util/schemas/responses/AccountStandingResponse.ts b/src/util/schemas/responses/AccountStandingResponse.ts index c64986bd..9315a32a 100644 --- a/src/util/schemas/responses/AccountStandingResponse.ts +++ b/src/util/schemas/responses/AccountStandingResponse.ts @@ -16,7 +16,6 @@ along with this program. If not, see . */ -import { MemberNameType } from "@typescript-eslint/eslint-plugin/dist/util"; import { Attachment } from "../../entities"; export enum AccountStandingState { diff --git a/tsconfig.json b/tsconfig.json index 3ca6bc72..f3501339 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,14 +31,15 @@ "module": "commonjs" /* Specify what module code is generated. */, // "rootDir": "./src", /* Specify the root folder within your source files. */ "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, - "baseUrl": "./src/", + // "baseUrl": "./src/", //deprecated "paths": { - "@spacebar/api*": ["./api"], - "@spacebar/gateway*": ["./gateway"], - "@spacebar/cdn*": ["./cdn"], - "@spacebar/util*": ["./util"], - "@spacebar/webrtc*": ["./webrtc"], - "lambert-server*": ["./util/util/lambert-server"] + "*": ["./src/*"], + "@spacebar/api*": ["./src/api"], + "@spacebar/gateway*": ["./src/gateway"], + "@spacebar/cdn*": ["./src/cdn"], + "@spacebar/util*": ["./src/util"], + "@spacebar/webrtc*": ["./src/webrtc"], + "lambert-server*": ["./src/util/util/lambert-server"] } /* Specify a set of entries that re-map imports to additional lookup locations. */, // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */