You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those options are enabled by default in the latest Angular.
They look great in terms of the type safety. Why not apply them to all other frameworks that Nx supports?
Suggested Implementation
Fix existing generators
Add --strict option to other generators
The current status of supporting the two strict options.
Description
Angular recently added two strict options for new projects. angular/angular-cli#21538
Motivation
Those options are enabled by default in the latest Angular.
They look great in terms of the type safety. Why not apply them to all other frameworks that Nx supports?
Suggested Implementation
--strict
option to other generatorsThe current status of supporting the two strict options.
@nrwl/angular:application
feat(angular): update complier options for strict mode #8126@nrwl/angular:library
feat(angular): update complier options for strict mode #8126@nrwl/express:application
--strict
is not supported🚫 not implemented@nrwl/express:library
@nrwl/gatsby:application
--strict
is not supported🚫 not implemented@nrwl/gatsby:library
@nrwl/js:application
@nrwl/js:library
@nrwl/nest:application
--strict
is not supported@nrwl/nest:library
@nrwl/next:application
--strict
is not supported@nrwl/next:library
feat(react): update complier options for strict mode #8127@nrwl/node:application
--strict
is not supported@nrwl/node:library
@nrwl/react:application
feat(react): update complier options for strict mode #8127@nrwl/react:library
feat(react): update complier options for strict mode #8127@nrwl/react-native:application
--strict
is not supported@nrwl/react-native:library
@nrwl/web:application
--strict
is not supported@nx/web:app "strict" option #9238
🚫 not implemented@nrwl/web:library
🚫 not implemented@nrwl/workspace:application
@nrwl/workspace:library
Alternate Implementations
Hard coding to the templates? Sounds nice.
https://github.com/angular/angular-cli/blob/4bf3cd76f11840ab0fa808a95cde0f5c8681087f/packages/schematics/angular/workspace/files/tsconfig.json.template#L6-L12
The text was updated successfully, but these errors were encountered: