Skip to content

Commit 6c05697

Browse files
committed
handle all defaultValue types in cli/generateMarkdown
1 parent 3b1a246 commit 6c05697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tsconfig-reference/scripts/cli/generateMarkdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ languages.forEach((lang) => {
107107
markdownChunks.push(` <td>${parseMarkdown(optType)}</td>`);
108108

109109
if (!opts?.noDefaults) {
110-
markdownChunks.push(` <td>${parseMarkdown(option.defaultValue)}</td>`);
110+
markdownChunks.push(` <td>${parseMarkdown(JSON.stringify(option.defaultValue))}</td>`);
111111
}
112112
markdownChunks.push(`</tr>`);
113113

0 commit comments

Comments
 (0)