Skip to content

Commit 524a19b

Browse files
committed
handle all defaultValue types in cli/generateMarkdown
1 parent c3ef98e commit 524a19b

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(String(option.defaultValue))}</td>`);
111111
}
112112
markdownChunks.push(`</tr>`);
113113

0 commit comments

Comments
 (0)