Skip to content

Commit 3d13ebd

Browse files
committed
format strings as strings
1 parent 6f85316 commit 3d13ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ languages.forEach((lang) => {
249249
}
250250

251251
if (option.defaultValue !== undefined) {
252-
mdTableRows.push(["Default", String(option.defaultValue)]);
252+
mdTableRows.push(["Default", JSON.stringify(option.defaultValue)]);
253253
}
254254

255255
if (option.allowedValues) {

0 commit comments

Comments
 (0)