From 51a56bc4c63ac09555db8168d50b7bb91311fed0 Mon Sep 17 00:00:00 2001 From: arturovt Date: Sat, 23 Nov 2019 19:35:23 +0200 Subject: [PATCH] docs: fix typos and highlight booleans to keep consistency (#34013) PR Close #34013 --- aio/content/guide/angular-compiler-options.md | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/aio/content/guide/angular-compiler-options.md b/aio/content/guide/angular-compiler-options.md index 4c824bdd39..e4f22ec258 100644 --- a/aio/content/guide/angular-compiler-options.md +++ b/aio/content/guide/angular-compiler-options.md @@ -52,7 +52,7 @@ The following options are available for configuring the AoT template compiler. ### `allowEmptyCodegenFiles` -When true, generate all possible files even if they are empty. Default is false. Used by the Bazel build rules to simplify how Bazel rules track file dependencies. Do not use this option outside of the Bazel rules. +When `true`, generate all possible files even if they are empty. Default is `false`. Used by the Bazel build rules to simplify how Bazel rules track file dependencies. Do not use this option outside of the Bazel rules. ### `annotationsAs` @@ -64,48 +64,48 @@ Modifies how Angular-specific annotations are emitted to improve tree-shaking. N ### `annotateForClosureCompiler` -When true, use [Tsickle](https://github.com/angular/tsickle) to annotate the emitted JavaScript with [JSDoc](http://usejsdoc.org/) comments needed by the -[Closure Compiler](https://github.com/google/closure-compiler). Default is false. +When `true`, use [Tsickle](https://github.com/angular/tsickle) to annotate the emitted JavaScript with [JSDoc](http://usejsdoc.org/) comments needed by the +[Closure Compiler](https://github.com/google/closure-compiler). Default is `false`. ### `disableExpressionLowering` -When true (the default), transforms code that is or could be used in an annotation, to allow it to be imported from template factory modules. See [metadata rewriting](guide/aot-compiler#metadata-rewriting) for more information. +When `true` (the default), transforms code that is or could be used in an annotation, to allow it to be imported from template factory modules. See [metadata rewriting](guide/aot-compiler#metadata-rewriting) for more information. When `false`, disables this rewriting, requiring the rewriting to be done manually. ### `disableTypeScriptVersionCheck` -When `true`, the compiler does not check the TypeScript version and does not report an error when an unsupported version of TypeScript is used. Not recommended, as unsupported versions of TypeScript might have undefined behavior. Default is false. +When `true`, the compiler does not check the TypeScript version and does not report an error when an unsupported version of TypeScript is used. Not recommended, as unsupported versions of TypeScript might have undefined behavior. Default is `false`. ### `enableIvy` Enables the [Ivy](guide/ivy) compilation and rendering pipeline. Default is `true`, as of version 9. In version 9, you can [opt out of Ivy](guide/ivy#opting-out-of-angular-ivy) to continue using the previous compiler, View Engine. -For library projects generated with the CLI, the `prod` configuration default is false in version 9. +For library projects generated with the CLI, the `prod` configuration default is `false` in version 9. ### `enableResourceInlining` -When true, replaces the `templateUrl` and `styleUrls` property in all `@Component` decorators with inlined contents in `template` and `styles` properties. +When `true`, replaces the `templateUrl` and `styleUrls` property in all `@Component` decorators with inlined contents in `template` and `styles` properties. When enabled, the `.js` output of `ngc` does not include any lazy-loaded template or style URLs. -For library projects generated with the CLI, the dev configuration default is true. +For library projects generated with the CLI, the dev configuration default is `true`. {@a enablelegacytemplate} ### `enableLegacyTemplate` -When true, enables use of the `