Skip to content

Commit 9e0f5fb

Browse files
authored
chore(monaco): make createTrustedTypesPolicy optional (microsoft#185454)
1 parent e8b2231 commit 9e0f5fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/monaco/monaco.d.ts.recipe

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare namespace monaco {
3636
/**
3737
* Create a trusted types policy (same API as window.trustedTypes.createPolicy)
3838
*/
39-
createTrustedTypesPolicy(
39+
createTrustedTypesPolicy?(
4040
policyName: string,
4141
policyOptions?: ITrustedTypePolicyOptions,
4242
): undefined | ITrustedTypePolicy;

src/vs/monaco.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare namespace monaco {
3636
/**
3737
* Create a trusted types policy (same API as window.trustedTypes.createPolicy)
3838
*/
39-
createTrustedTypesPolicy(
39+
createTrustedTypesPolicy?(
4040
policyName: string,
4141
policyOptions?: ITrustedTypePolicyOptions,
4242
): undefined | ITrustedTypePolicy;

0 commit comments

Comments
 (0)