bun-router 0.3.5 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export type HttpHandler = (r: Request) => Response
1
+ export * from './lib/logger/logger.d';
2
+ export * from './lib/router/router.d';
package/package.json CHANGED
@@ -8,5 +8,5 @@
8
8
  "peerDependencies": {
9
9
  "typescript": "^5.0.0"
10
10
  },
11
- "version": "0.3.5"
11
+ "version": "0.3.7"
12
12
  }
package/tsconfig.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "declaration": true,
3
4
  "lib": ["ESNext"],
4
5
  "module": "esnext",
5
6
  "target": "esnext",
@@ -15,6 +16,7 @@
15
16
  "allowJs": true,
16
17
  "noEmit": true,
17
18
  "types": [
19
+ "./index.d.ts",
18
20
  "bun-types" // add Bun global
19
21
  ]
20
22
  }