mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
chore: denoify
This commit is contained in:
parent
efebf64569
commit
187cb7ed5b
14
deno_dist/preset/quick.ts
Normal file
14
deno_dist/preset/quick.ts
Normal 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()
|
||||
}
|
||||
}
|
@ -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,
|
Loading…
Reference in New Issue
Block a user