Skip to content

Commit fcb4199

Browse files
committed
make value unknown
1 parent cf786c9 commit fcb4199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { StylesType, initRendererProps } from "./types";
33
import { RendererObject } from "marked";
44
import { styles } from "./styles";
55

6-
function escapeQuotes(value: string) {
6+
function escapeQuotes(value: unknown) {
77
if (typeof value === 'string' && value.includes('"')) {
88
return value.replace(/"/g, "'");
99
}

0 commit comments

Comments
 (0)