Skip to content

Commit

Permalink
0.1.23 built
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamint08 committed May 22, 2024
1 parent 491f6a1 commit 91752da
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/helpers/json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare function json(req: Request): Promise<Object>;
3 changes: 2 additions & 1 deletion lib/main/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { query } from "../helpers/query.ts";
import { param } from "../helpers/param.ts";
import MongoService from "../instances/mongodb.ts";
import PgService from "../instances/postgres.ts";
import { json } from "../helpers/json.ts";
declare class ProBun {
private port;
private routes;
Expand All @@ -20,4 +21,4 @@ declare class ProBun {
definePreMiddleware(middleware: any): void;
definePostMiddleware(middleware: any): void;
}
export { ProBun, SendJSON, Success, Failure, ServerFailure, Redirect, Html, query, param, MongoService, PgService, SendFile, };
export { ProBun, SendJSON, Success, Failure, ServerFailure, Redirect, Html, query, param, MongoService, PgService, SendFile, json };
Loading

0 comments on commit 91752da

Please sign in to comment.