Skip to content

Commit

Permalink
fix: TS2344: does not satisfy the constraint '(...args: any) => any'
Browse files Browse the repository at this point in the history
  • Loading branch information
heunghingwan committed Mar 27, 2023
1 parent d0d57e0 commit 0e7c09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koa-helmet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import helmet = require('helmet');
import helmet from 'helmet';
import { Middleware, Context } from 'koa';

type HelmetOptions = Required<Parameters<typeof helmet>>[0];
Expand Down

0 comments on commit 0e7c09f

Please sign in to comment.