angular-docs-cn/packages/compiler-cli/ngcc/test/host
Pete Bacon Darwin 413b55273b fix(ngcc): capture UMD/CommonJS inner class implementation node correctly (#39346)
Previously, UMD/CommonJS class inline declarations of the form:

```ts
exports.Foo = (function() { function Foo(); return Foo; })();
```

were capturing the whole IIFE as the implementation, rather than
the inner class (i.e. `function Foo() {}` in this case). This caused
the interpreter to break when it was trying to access such an export,
since it would try to evaluate the IIFE rather than treating it as a class
declaration.

PR Close #39346
2020-10-23 15:17:11 -07:00
..
commonjs_host_import_helper_spec.ts refactor(ngcc): move `logging` code into `ngtsc` (#37114) 2020-06-22 13:38:47 -07:00
commonjs_host_spec.ts fix(ngcc): capture UMD/CommonJS inner class implementation node correctly (#39346) 2020-10-23 15:17:11 -07:00
esm5_host_import_helper_spec.ts fix(compiler-cli): avoid creating value expressions for symbols from type-only imports (#37912) 2020-08-11 09:53:25 -07:00
esm5_host_spec.ts refactor(compiler-cli): implement `DeclarationNode` node type (#38959) 2020-10-12 08:32:46 -07:00
esm2015_host_import_helper_spec.ts fix(compiler-cli): avoid creating value expressions for symbols from type-only imports (#37912) 2020-08-11 09:53:25 -07:00
esm2015_host_spec.ts refactor(compiler-cli): implement `DeclarationNode` node type (#38959) 2020-10-12 08:32:46 -07:00
umd_host_import_helper_spec.ts refactor(ngcc): move `logging` code into `ngtsc` (#37114) 2020-06-22 13:38:47 -07:00
umd_host_spec.ts fix(ngcc): capture UMD/CommonJS inner class implementation node correctly (#39346) 2020-10-23 15:17:11 -07:00
util.ts fix(ngcc): use aliased exported types correctly (#38666) 2020-09-08 11:41:21 -07:00