Fix bad import, remove baseUrl from tsconfig to enable ts7 compat

This commit is contained in:
Rory& 2025-10-07 14:33:22 +02:00
parent 62016a8043
commit 69348ea855
2 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
import { MemberNameType } from "@typescript-eslint/eslint-plugin/dist/util";
import { Attachment } from "../../entities"; import { Attachment } from "../../entities";
export enum AccountStandingState { export enum AccountStandingState {

View File

@ -31,14 +31,15 @@
"module": "commonjs" /* Specify what module code is generated. */, "module": "commonjs" /* Specify what module code is generated. */,
// "rootDir": "./src", /* Specify the root folder within your source files. */ // "rootDir": "./src", /* Specify the root folder within your source files. */
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */, "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"baseUrl": "./src/", // "baseUrl": "./src/", //deprecated
"paths": { "paths": {
"@spacebar/api*": ["./api"], "*": ["./src/*"],
"@spacebar/gateway*": ["./gateway"], "@spacebar/api*": ["./src/api"],
"@spacebar/cdn*": ["./cdn"], "@spacebar/gateway*": ["./src/gateway"],
"@spacebar/util*": ["./util"], "@spacebar/cdn*": ["./src/cdn"],
"@spacebar/webrtc*": ["./webrtc"], "@spacebar/util*": ["./src/util"],
"lambert-server*": ["./util/util/lambert-server"] "@spacebar/webrtc*": ["./src/webrtc"],
"lambert-server*": ["./src/util/util/lambert-server"]
} /* Specify a set of entries that re-map imports to additional lookup locations. */, } /* 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. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
// "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */