mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
In TS 3.9 the compiler will start to wrap ES2015 classes in an IIFE to help with
tree-shaking when the class has "associated" statements.
E.g.
```ts
let PlatformLocation = /** @class */ (() => {
...
class PlatformLocation {
}
...
return PlatformLocation;
})();
```
This commit updates `Esm2015ReflectionHost` to support this format.
PR Close #36884
|
||
|---|---|---|
| .. | ||
| commonjs_host_import_helper_spec.ts | ||
| commonjs_host_spec.ts | ||
| esm5_host_import_helper_spec.ts | ||
| esm5_host_spec.ts | ||
| esm2015_host_import_helper_spec.ts | ||
| esm2015_host_spec.ts | ||
| umd_host_import_helper_spec.ts | ||
| umd_host_spec.ts | ||
| util.ts | ||