We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52116a2 commit c4e4dacCopy full SHA for c4e4dac
src/index.ts
@@ -13,7 +13,7 @@ interface CSPTrustedTypesPolicy {
13
createHTML: (s: string, response: Response) => CSPTrustedHTMLToStringable
14
}
15
let cspTrustedTypesPolicy: Promise<CSPTrustedTypesPolicy> | null = null
16
-export function setCSPTrusedTypesPolicy(policy: CSPTrustedTypesPolicy | Promise<CSPTrustedTypesPolicy>): void {
+export function setCSPTrustedTypesPolicy(policy: CSPTrustedTypesPolicy | Promise<CSPTrustedTypesPolicy>): void {
17
cspTrustedTypesPolicy = Promise.resolve(policy)
18
19
0 commit comments