diff --git a/src/app.ts b/src/app.ts index 9c821d41..68b24d30 100644 --- a/src/app.ts +++ b/src/app.ts @@ -39,11 +39,6 @@ export type ListenOptions = Partial & { remoteAddress?: string; }; -export interface RouteCacheEntry { - params: Record; - handler: MiddlewareFn; -} - export let getRouter: (app: App) => Router>; // deno-lint-ignore no-explicit-any export let getIslandRegistry: (app: App) => ServerIslandRegistry; diff --git a/src/config.ts b/src/config.ts index 8cc82d74..8e6208c5 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,10 +1,6 @@ import * as path from "@std/path"; import type { Mode } from "./runtime/server/mod.ts"; -export interface FreshPlugin { - name: string; -} - export interface FreshConfig { root?: string; build?: { diff --git a/src/fs.ts b/src/fs.ts index 7ef6ea3d..51a48ea4 100644 --- a/src/fs.ts +++ b/src/fs.ts @@ -1,10 +1,5 @@ import { walk, type WalkEntry, type WalkOptions } from "@std/fs/walk"; -export interface FreshFile { - size: number; - readable: ReadableStream; -} - export interface FsAdapter { cwd(): string; walk( diff --git a/src/mod.ts b/src/mod.ts index 15ba324e..fd19c4b8 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -1,4 +1,4 @@ -export { App, type ListenOptions, type RouteCacheEntry } from "./app.ts"; +export { App, type ListenOptions } from "./app.ts"; export { trailingSlashes } from "./middlewares/trailing_slashes.ts"; export { fsRoutes, type FsRoutesOptions } from "./plugins/fs_routes/mod.ts"; export { diff --git a/src/types.ts b/src/types.ts index c7d6ea34..f8327fb5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -28,12 +28,6 @@ export interface RouteConfig { skipAppWrapper?: boolean; } -export interface SignalLike { - value: T; - peek(): T; - subscribe(fn: (value: T) => void): () => void; -} - // TODO: Uncomment once JSR supports global types // declare global { // namespace preact.createElement.JSX {