mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(compiler): add strictStandalone option to angular compiler options (#58785)
PR Close #58785
This commit is contained in:
@@ -213,6 +213,10 @@ See [troubleshooting template errors](tools/cli/template-typecheck#troubleshooti
|
||||
|
||||
When you use the Angular CLI command `ng new --strict`, it is set to `true` in the new project's configuration.
|
||||
|
||||
### `strictStandalone`
|
||||
|
||||
When `true`, reports an error if a component, directive, or pipe is not standalone.
|
||||
|
||||
### `trace`
|
||||
|
||||
When `true`, prints extra information while compiling templates.
|
||||
|
||||
Reference in New Issue
Block a user