Skip to content

Commit

Permalink
fix(types): don't require all csp policies as keys (#9018)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 19, 2021
1 parent 0a98866 commit b765552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/config/render.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface CspOptions {
addMeta?: boolean
allowedSources?: string[]
hashAlgorithm?: string
policies?: Record<CspPolicyName, string[]>
policies?: Partial<Record<CspPolicyName, string[]>>
reportOnly?: boolean
unsafeInlineCompatibility?: boolean
}
Expand Down

0 comments on commit b765552

Please sign in to comment.