mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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
|
addMeta?: boolean
|
||||||
allowedSources?: string[]
|
allowedSources?: string[]
|
||||||
hashAlgorithm?: string
|
hashAlgorithm?: string
|
||||||
policies?: Record<CspPolicyName, string[]>
|
policies?: Partial<Record<CspPolicyName, string[]>>
|
||||||
reportOnly?: boolean
|
reportOnly?: boolean
|
||||||
unsafeInlineCompatibility?: boolean
|
unsafeInlineCompatibility?: boolean
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user