refactor(imports): use explicit type-only imports across codebase
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 3s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 6s

- Replace standard imports with type-only imports to improve clarity
  and align with TypeScript best practices.
- Ensure consistency across modules by modifying all relevant files.
This commit is contained in:
2025-05-27 13:18:31 +02:00
parent c28eb7f28d
commit b83aa330b3
24 changed files with 56 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
import {
import type {
IContext,
IHttpKernel,
IHttpKernelConfig,
@@ -7,14 +7,14 @@ import {
IRouteDefinition,
} from './Interfaces/mod.ts';
import {
DeepPartial,
Handler,
type DeepPartial,
type Handler,
HTTP_404_NOT_FOUND,
HTTP_500_INTERNAL_SERVER_ERROR,
HttpStatusTextMap,
isHandler,
isMiddleware,
Middleware,
type Middleware,
} from './Types/mod.ts';
import { RouteBuilder } from './RouteBuilder.ts';
import { createEmptyContext, normalizeError } from './Utils/mod.ts';