boredgame/src/lib/server/api/common/interfaces/controller.interface.ts

8 lines
214 B
TypeScript

import { Hono } from 'hono'
import type { BlankSchema } from 'hono/types'
import type { HonoTypes } from '../../types'
export interface Controller {
controller: Hono<HonoTypes, BlankSchema, '/'>
routes(): any
}