Skip to content

Commit 7d785b8

Browse files
committed
feat(mod): export types for middleware
1 parent 008780f commit 7d785b8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

deps.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
// Copyright 2023-latest the httpland authors. All rights reserved. MIT license.
22
// This module is browser compatible.
33

4-
export { type Middleware } from "https://deno.land/x/[email protected]/mod.ts";
4+
export {
5+
type Handler,
6+
type Middleware,
7+
} from "https://deno.land/x/[email protected]/mod.ts";
58
export {
69
CachingHeader,
710
ContentNegotiationHeader,

mod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
export { compression } from "./middleware.ts";
55
export type { Encode, Encoder, EncodingMap } from "./types.ts";
6+
export type { Handler, Middleware } from "./deps.ts";

0 commit comments

Comments
 (0)