@@ -14,7 +14,7 @@ export function addTypeDocOptions(options: Pick<Options, "addDeclaration">) {
14
14
options . addDeclaration ( {
15
15
name : "tsconfig" ,
16
16
help :
17
- "Specify a typescript config file that should be loaded. If not specified TypeDoc will look for 'tsconfig.json' in the current directory." ,
17
+ "Specify a TypeScript config file that should be loaded. If not specified TypeDoc will look for 'tsconfig.json' in the current directory." ,
18
18
hint : ParameterHint . File ,
19
19
defaultValue : process . cwd ( ) ,
20
20
} ) ;
@@ -53,7 +53,7 @@ export function addTypeDocOptions(options: Pick<Options, "addDeclaration">) {
53
53
options . addDeclaration ( {
54
54
name : "excludeInternal" ,
55
55
help :
56
- "Prevent symbols that marked with @internal from being documented." ,
56
+ "Prevent symbols that are marked with @internal from being documented." ,
57
57
type : ParameterType . Boolean ,
58
58
} ) ;
59
59
options . addDeclaration ( {
@@ -110,14 +110,21 @@ export function addTypeDocOptions(options: Pick<Options, "addDeclaration">) {
110
110
options . addDeclaration ( {
111
111
name : "json" ,
112
112
help :
113
- "Specifies the location and file name a json file describing the project is written to." ,
113
+ "Specifies the location and filename a JSON file describing the project is written to." ,
114
114
hint : ParameterHint . File ,
115
115
} ) ;
116
+ options . addDeclaration ( {
117
+ name : "pretty" ,
118
+ help :
119
+ "Specifies whether the output JSON should be formatted with tabs." ,
120
+ type : ParameterType . Boolean ,
121
+ defaultValue : true ,
122
+ } ) ;
116
123
117
124
options . addDeclaration ( {
118
125
name : "theme" ,
119
126
help :
120
- "Specify the path to the theme that should be used or 'default' or 'minimal' to use built-in themes." ,
127
+ "Specify the path to the theme that should be used, or 'default' or 'minimal' to use built-in themes." ,
121
128
type : ParameterType . String ,
122
129
defaultValue : "default" ,
123
130
} ) ;
0 commit comments