Revert "fix(compiler): fix transpiled ES5 code (#13322)"
This reverts commit 4398056146
.
This commit is contained in:
parent
61d7c1e0b3
commit
4e3d58a792
|
@ -213,11 +213,11 @@ export class JitCompiler implements Compiler {
|
|||
const compMeta = this._metadataResolver.getDirectiveMetadata(compType);
|
||||
assertComponent(compMeta);
|
||||
|
||||
const hostClass = {
|
||||
overriddenName: `${identifierName(compMeta.type)}_Host`,
|
||||
};
|
||||
class HostClass {
|
||||
static overriddenName = `${identifierName(compMeta.type)}_Host`;
|
||||
}
|
||||
|
||||
const hostMeta = createHostComponentMeta(hostClass, compMeta);
|
||||
const hostMeta = createHostComponentMeta(HostClass, compMeta);
|
||||
compiledTemplate = new CompiledTemplate(
|
||||
true, compMeta.selector, compMeta.type, hostMeta, ngModule, [compMeta.type]);
|
||||
this._compiledHostTemplateCache.set(compType, compiledTemplate);
|
||||
|
|
Loading…
Reference in New Issue