mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `packages/core/test` test code was relying on non-ESM compatible features like untyped `require` calls. We switch these to ESM `import` statements/expressions and make it strongly typed. It's a trade-off between type-safety and the dependency graph- but it feels more reasonable typing this properly to actually benefit from the type system provided by using TypeScript. Additionally, we align the IDE tsconfigs to use `esnext` as module because that is what we use in Bazel and it allows us to use top-level await. PR Close #48521 |
||
|---|---|---|
| .. | ||
| async-tagging-console.spec.ts | ||
| ng_zone_spec.ts | ||