You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert introduction of safevalues to prevent issues from arising in Browser CommonJS environments due to ES5 incompatibility. For more information, see [GitHub PR #8395](https://github.com/firebase/firebase-js-sdk/pull/8395)
* Creates a TrustedTypePolicy object that implements the rules passed as policyOptions.
60
+
*
61
+
* @param policyName A string containing the name of the policy
62
+
* @param policyOptions Object containing implementations of instance methods for TrustedTypesPolicy, see {@link https://developer.mozilla.org/en-US/docs/Web/API/TrustedTypePolicy#instance_methods
63
+
* | the TrustedTypePolicy reference documentation}.
64
+
*/
65
+
exportfunctioncreateTrustedTypesPolicy(
66
+
policyName: string,
67
+
policyOptions: Partial<TrustedTypePolicyOptions>
68
+
): Partial<TrustedTypePolicy>|undefined{
69
+
// Create a TrustedTypes policy that we can use for updating src
0 commit comments