fix(compiler): fix PR 13322 (#13331)
This commit is contained in:
parent
c8baf51f4f
commit
4022173d1e
|
@ -213,9 +213,8 @@ export class JitCompiler implements Compiler {
|
|||
const compMeta = this._metadataResolver.getDirectiveMetadata(compType);
|
||||
assertComponent(compMeta);
|
||||
|
||||
class HostClass {
|
||||
static overriddenName = `${identifierName(compMeta.type)}_Host`;
|
||||
}
|
||||
const HostClass = function HostClass() {};
|
||||
(<any>HostClass).overriddenName = `${identifierName(compMeta.type)}_Host`;
|
||||
|
||||
const hostMeta = createHostComponentMeta(HostClass, compMeta);
|
||||
compiledTemplate = new CompiledTemplate(
|
||||
|
|
Loading…
Reference in New Issue