From 5db9ab12c022886ff75f23e08dde75a4f0e6086b Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 4 Apr 2018 23:12:28 -0700 Subject: [PATCH] docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide --- aio/content/guide/aot-compiler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index 1af56be87d..2b6d83c08b 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -118,7 +118,7 @@ include a copy of the information that is in the `.metadata.json` file. ### *strictMetadataEmit* This option tells the template compiler to report an error to the `.metadata.json` -file if `"skipMetadataEmit"` is `false` . This option is `false` by default. This should only be used when `"skipMetadataEmit"` is `false` and `"skipTemplateCodeGen"` is `true`. +file if `"skipMetadataEmit"` is `false` . This option is `false` by default. This should only be used when `"skipMetadataEmit"` is `false` and `"skipTemplateCodegen"` is `true`. It is intended to validate the `.metadata.json` files emitted for bundling with an `npm` package. The validation is overly strict and can emit errors for metadata that would never produce an error when used by the template compiler. You can choose to suppress the error emitted by this option for an exported symbol by including `@dynamic` in the comment documenting the symbol.