-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Typescript conversion, refactor.
- Loading branch information
Adam Miller
authored and
Adam Miller
committed
Jan 3, 2020
1 parent
d150860
commit 6ec0f45
Showing
7 changed files
with
1,649 additions
and
236 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as Express from 'express'; | ||
export interface IApiHandler { | ||
ALL?: Express.RequestHandler; | ||
GET?: Express.RequestHandler; | ||
POST?: Express.RequestHandler; | ||
PUT?: Express.RequestHandler; | ||
DELETE?: Express.RequestHandler; | ||
} | ||
export default function api(express: any, apiPath?: string): Express.Express; |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.