-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more jsdoc and make req.respond await
- Loading branch information
v1rtl
committed
Mar 19, 2021
1 parent
2d43bde
commit e3bcd42
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import { ServerRequest } from 'https://deno.land/[email protected]/http/server.ts' | ||
|
||
/** | ||
* Request type with only required properties | ||
*/ | ||
export type Request = Pick<ServerRequest, 'respond' | 'body' | 'method'> |