Skip to content

Commit

Permalink
Merge pull request #87 from heunghingwan/patch-1
Browse files Browse the repository at this point in the history
fix types error
  • Loading branch information
venables committed Mar 27, 2023
2 parents 15814ba + 0e7c09f commit be276fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions koa-helmet.d.ts
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 Expand Up @@ -33,7 +33,7 @@ declare namespace koaHelmet {
reportUri?: string;
sandbox?: KoaHelmetCspDirectiveValue[];
scriptSrc?: KoaHelmetCspDirectiveValue[];
scriptSrcAttr?: KoahelmetCspDirectiveValue[];
scriptSrcAttr?: KoaHelmetCspDirectiveValue[];
scriptSrcElem?: KoaHelmetCspDirectiveValue[];
styleSrc?: KoaHelmetCspDirectiveValue[];
styleSrcAttr?: KoaHelmetCspDirectiveValue[];
Expand Down

0 comments on commit be276fb

Please sign in to comment.