@types/trusted-types
Advanced tools
@@ -46,5 +46,5 @@ // The main type definitions. Packages that do not want to pollute the global | ||
| export interface TrustedTypePolicyOptions { | ||
| createHTML?: (input: string, ...arguments: any[]) => string; | ||
| createScript?: (input: string, ...arguments: any[]) => string; | ||
| createScriptURL?: (input: string, ...arguments: any[]) => string; | ||
| createHTML?: ((input: string, ...arguments: any[]) => string) | undefined; | ||
| createScript?: ((input: string, ...arguments: any[]) => string) | undefined; | ||
| createScriptURL?: ((input: string, ...arguments: any[]) => string) | undefined; | ||
| } | ||
@@ -59,3 +59,3 @@ | ||
| // supporting trustedTypes. | ||
| trustedTypes?: TrustedTypePolicyFactory; | ||
| trustedTypes?: TrustedTypePolicyFactory | undefined; | ||
| TrustedHTML: typeof TrustedHTML; | ||
@@ -62,0 +62,0 @@ TrustedScript: typeof TrustedScript; |
| { | ||
| "name": "@types/trusted-types", | ||
| "version": "2.0.1", | ||
| "version": "2.0.2", | ||
| "description": "TypeScript definitions for trusted-types", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trusted-types", | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "f3d25f415bf49f5121b7b5d5ad872e62a7644b9c015ea9e0508c29af9a4492bf", | ||
| "typesPublisherContentHash": "99d8c3702ecfbc895e9827c063dcce01708c2011a667e0844c3d8a88259efece", | ||
| "typeScriptVersion": "3.6" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Wed, 16 Jun 2021 20:01:18 GMT | ||
| * Last updated: Fri, 02 Jul 2021 19:37:19 GMT | ||
| * Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
8302
0.65%