mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
8 lines
259 B
TypeScript
8 lines
259 B
TypeScript
import { Hono } from '@hono/hono';
|
|
|
|
import type { DittoEnv } from './DittoEnv.ts';
|
|
|
|
export class DittoApp extends Hono<DittoEnv> {
|
|
// @ts-ignore Require a DittoRoute for type safety.
|
|
declare route: (path: string, app: Hono<DittoEnv>) => Hono<DittoEnv>;
|
|
}
|