Revert "feat(upgrade): use ComponentFactory.inputs/outputs/ngContentSelectors
"
This reverts commit a3e32fb7e1
.
This commit is contained in:
@ -156,6 +156,7 @@ export class CompileMetadataResolver {
|
||||
const templateName = inputs[propName];
|
||||
factory.inputs.push({propName, templateName});
|
||||
}
|
||||
const outputsArr: {propName: string, templateName: string}[] = [];
|
||||
for (let propName in outputs) {
|
||||
const templateName = outputs[propName];
|
||||
factory.outputs.push({propName, templateName});
|
||||
|
@ -279,6 +279,7 @@ describe('compiler (unbundled Angular)', () => {
|
||||
const host = new MockCompilerHost(['/app/app.ts'], FILES, angularFiles);
|
||||
const aotHost = new MockAotCompilerHost(host);
|
||||
let generatedFiles: GeneratedFile[];
|
||||
const warnSpy = spyOn(console, 'warn');
|
||||
compile(host, aotHost, expectNoDiagnostics).then((f) => generatedFiles = f);
|
||||
|
||||
tick();
|
||||
|
Reference in New Issue
Block a user