mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(types): don't require all csp policies as keys (#9018)
This commit is contained in:
parent
0a98866894
commit
b765552104
2
packages/types/config/render.d.ts
vendored
2
packages/types/config/render.d.ts
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user