Skip to content

Commit 53901c0

Browse files
committed
Fix typings
1 parent 8c88ebb commit 53901c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/markdown/browser/markedKatexSupport.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { importAMDNodeModule, resolveAmdNodeModulePath } from '../../../../amdX.js';
7+
import * as domSanitize from '../../../../base/browser/domSanitize.js';
78
import { MarkdownSanitizerConfig } from '../../../../base/browser/markdownRenderer.js';
89
import { CodeWindow } from '../../../../base/browser/window.js';
910
import { Lazy } from '../../../../base/common/lazy.js';
@@ -13,7 +14,7 @@ export class MarkedKatexSupport {
1314

1415
public static getSanitizerOptions(baseConfig: {
1516
readonly allowedTags: readonly string[];
16-
readonly allowedAttributes: readonly string[];
17+
readonly allowedAttributes: ReadonlyArray<string | domSanitize.SanitizeAttributeRule>;
1718
}): MarkdownSanitizerConfig {
1819
return {
1920
allowedTags: {

0 commit comments

Comments
 (0)