Skip to content

Commit

Permalink
feat: export types
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Dec 9, 2021
1 parent 0c42759 commit 2d65145
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
export type { RequestParams } from './Router/Request';
export type { View, Meta } from './Router/Response';
export type { RouteRule, NextHandler, RouteHandler } from './Router/Route';
export type { MiddlewareRule, MiddlewareBeforeHandler, MiddlewareAfterHandler } from './Router/Middleware';
export type { ErrorHandler, RouterOptions, PopStateData } from './Router/Router';

export * from '@chialab/dna';
export { Request } from './Router/Request';
export { Response } from './Router/Response';
export { Route } from './Router/Route';
export { Middleware } from './Router/Middleware';
export { History } from './Router/History';
export { Router } from './Router/Router';
export { App } from './App';
Expand Down

0 comments on commit 2d65145

Please sign in to comment.