forked from honojs/hono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
51 lines (48 loc) · 1.03 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* @module
*
* Hono - Web Framework built on Web Standards
*
* @example
* ```ts
* import { Hono } from 'hono'
* const app = new Hono()
*
* app.get('/', (c) => c.text('Hono!'))
*
* export default app
* ```
*/
import { Hono } from './hono'
/**
* Types for environment variables, error handlers, handlers, middleware handlers, and more.
*/
export type {
Env,
ErrorHandler,
Handler,
MiddlewareHandler,
Next,
NotFoundHandler,
ValidationTargets,
Input,
Schema,
ToSchema,
TypedResponse,
} from './types'
/**
* Types for context, context variable map, context renderer, and execution context.
*/
export type { Context, ContextVariableMap, ContextRenderer, ExecutionContext } from './context'
/**
* Type for HonoRequest.
*/
export type { HonoRequest } from './request'
/**
* Types for inferring request and response types and client request options.
*/
export type { InferRequestType, InferResponseType, ClientRequestOptions } from './client'
/**
* Hono framework for building web applications.
*/
export { Hono }