-import { BaseError } from './BaseError';
-import {
- ErrorType,
- type IncomingRequestCommand,
- type JsonType,
- type RequestCommand,
-} from '../types';
-import { Constants } from '../utils';
+import type { ErrorType, IncomingRequestCommand, JsonType, RequestCommand } from '../types/index.js'
+import { Constants } from '../utils/index.js'
+import { BaseError } from './BaseError.js'