Skip to content

Commit 0875527

Browse files
committed
fix: add missing types of senitize/html
1 parent 27b5544 commit 0875527

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

apps/web/src/data/blogs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const blogs: BlogPost[] = [
2121
},
2222
{
2323
date: "06-12-25",
24-
linkText: "why opensox ai doesn't do \"follow-ups\"?",
24+
linkText: 'why opensox ai doesn\'t do "follow-ups"?',
2525
link: "https://x.com/ajeetunc/status/1997309049910730995?s=20",
2626
tag: "startup",
2727
},

apps/web/types/sanitize-html.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
declare module "sanitize-html" {
2+
export interface IOptions {
3+
allowedTags?: string[];
4+
allowedAttributes?: Record<string, string[]>;
5+
allowedSchemes?: string[];
6+
[key: string]: any;
7+
}
8+
9+
function sanitizeHtml(dirty: string, options?: IOptions): string;
10+
export default sanitizeHtml;
11+
}
12+

0 commit comments

Comments
 (0)