Skip to content

Commit 58af400

Browse files
committed
fix type of defaultValue
it only gets coerced to String in generateMarkdown.ts
1 parent 6c05697 commit 58af400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface CompilerOptionJSON extends CommandLineOptionBase {
4040
deprecated?: string;
4141
internal?: true;
4242
recommended?: true;
43-
defaultValue?: string;
43+
defaultValue?: string | number | boolean;
4444
hostObj: string;
4545
}
4646

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface CompilerOptionJSON extends CommandLineOptionBase {
4848
deprecated?: string;
4949
internal?: true;
5050
recommended?: true;
51-
defaultValue?: string;
51+
defaultValue?: string | number | boolean;
5252
hostObj: string;
5353
}
5454

0 commit comments

Comments
 (0)