diff --git a/src/server/FileServer.ts b/src/server/FileServer.ts index 4a47059..d63085f 100644 --- a/src/server/FileServer.ts +++ b/src/server/FileServer.ts @@ -1,9 +1,10 @@ import { EventEmitter } from '../event' import { FileProvider } from '../files' -export type FileServerEventMap = unknown +export type FileServerEventMap = {[k: string]: object|null|undefined} -export abstract class FileServer { +// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Latest Typescript versions report an error for declaration mismatch on the protected properties +export abstract class FileServer { constructor( public provider: FileProvider, ) {