1
0
forked from noxious/server

Updated tsconfig.json and edited all required files to work with it

This commit is contained in:
2025-02-07 20:37:51 +01:00
parent fae428f239
commit f5e7d10fb4
70 changed files with 153 additions and 88 deletions

View File

@ -1,6 +1,6 @@
import fs from 'fs'
import { Response } from 'express'
import type { Response } from 'express'
import Logger, { LoggerType } from '#application/logger'

View File

@ -1,7 +1,8 @@
import { Server } from 'socket.io'
import type { TSocket } from '#application/types'
import Logger, { LoggerType } from '#application/logger'
import { TSocket } from '#application/types'
import { Character } from '#entities/character'
import CharacterRepository from '#repositories/characterRepository'

View File

@ -2,9 +2,10 @@ import * as fs from 'fs'
import * as path from 'path'
import { pathToFileURL } from 'url'
import type { Command } from '#application/types'
import Logger, { LoggerType } from '#application/logger'
import Storage from '#application/storage'
import { Command } from '#application/types'
export class CommandRegistry {
private readonly commands: Map<string, Command> = new Map()