0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00

chore: denoify

This commit is contained in:
Yusuke Wada 2023-05-09 22:15:10 +09:00
parent efebf64569
commit 187cb7ed5b
2 changed files with 17 additions and 3 deletions

14
deno_dist/preset/quick.ts Normal file
View File

@ -0,0 +1,14 @@
import { HonoBase } from '../hono-base.ts'
import { LinearRouter } from '../router/linear-router/index.ts'
import type { Env } from '../types.ts'
export class Hono<E extends Env = Env, S = {}, BasePath extends string = ''> extends HonoBase<
E,
S,
BasePath
> {
constructor() {
super()
this.router = new LinearRouter()
}
}

View File

@ -1,6 +1,6 @@
import { HonoBase } from './hono-base.ts'
import { PatternRouter } from './router/pattern-router/index.ts'
import type { Env } from './types.ts'
import { HonoBase } from '../hono-base.ts'
import { PatternRouter } from '../router/pattern-router/index.ts'
import type { Env } from '../types.ts'
export class Hono<E extends Env = Env, S = {}, BasePath extends string = ''> extends HonoBase<
E,