mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
The TypeScript `isolatedModules` option is now enabled for all TypeScript code within the repository. As a result, all packages will now be built with the option enabled. This does not affect projects created with the CLI and is only related to the building of the actual Angular CLI code. The `isolatedModules` option ensures that code can be emitted without the TypeScript typechecker and allows tools other than TypeScript to potentially be used. Code was updated to correct all errors after the option was enabled. Additionally, some early code fixes were done to add function and accessor return types to prepare for future `isolatedDeclarations` usage. More changes would be needed to consider turning on `isolatedDeclarations`, however.