Skip to content

Commit

Permalink
feat: type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
lau1944 committed Sep 10, 2022
1 parent ba604b4 commit 95a161e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"use strict";

import server from "./src";

export default server;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bunrest",
"version": "1.1.1",
"version": "1.1.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "An express-like API for bun http server",
Expand Down
3 changes: 3 additions & 0 deletions test/hint.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import server from '../src';

const app = server();

0 comments on commit 95a161e

Please sign in to comment.