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 d52680c commit 92786c0Copy full SHA for 92786c0
src/types/ambient.d.ts
@@ -0,0 +1,11 @@
1
+declare module 'dompurify' {
2
+ export interface Config { [key: string]: any }
3
+ export function sanitize(dirty: string, config?: Config): string;
4
+ const _default: { sanitize: typeof sanitize };
5
+ export default _default;
6
+}
7
+
8
+declare module 'marked' {
9
+ export function parse(src: string, options?: any): string;
10
11
0 commit comments