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/>.
*/
import { MemberNameType } from "@typescript-eslint/eslint-plugin/dist/util";
import { Attachment } from "../../entities";
export enum AccountStandingState {

View File

@ -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'. */