Skip to content

Commit d061d15

Browse files
authored
Merge pull request #96 from mdoi2/fix/type-error
Fix type error
2 parents c5e1427 + 8ca42a2 commit d061d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

koa-helmet.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for koa-helmet 7.0
1+
// Type definitions for koa-helmet 8.0
22
// Project: https://github.com/venables/koa-helmet#readme
33
// Definitions by: Nick Simmons <https://github.com/nsimmons>
44
// Jan Dolezel <https://github.com/dolezel>
@@ -16,5 +16,5 @@ type KoaHelmet = {
1616
) => Middleware;
1717
} & ((options?: HelmetOptions) => Middleware);
1818

19-
const koaHelmet: KoaHelmet;
19+
declare const koaHelmet: KoaHelmet;
2020
export default koaHelmet;

0 commit comments

Comments
 (0)