refactor(ivy): ngcc - subclasses do not need to declare `protected` variables (#26906)

These variables are already declared as protected in the super class, and
so it is redundant to do it again in the subclasses.

PR Close #26906
This commit is contained in:
Pete Bacon Darwin 2018-11-25 14:15:37 +00:00 committed by Igor Minar
parent 4526b3ef50
commit 64f6820660
2 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@ import {EsmRenderer} from './esm_renderer';
export class Esm5Renderer extends EsmRenderer {
constructor(
protected host: NgccReflectionHost, protected bundle: BundleInfo,
protected sourcePath: string, protected targetPath: string, transformDts: boolean) {
host: NgccReflectionHost, bundle: BundleInfo, sourcePath: string, targetPath: string,
transformDts: boolean) {
super(host, bundle, sourcePath, targetPath, transformDts);
}

View File

@ -14,8 +14,8 @@ import {Renderer} from './renderer';
export class EsmRenderer extends Renderer {
constructor(
protected host: NgccReflectionHost, protected bundle: BundleInfo,
protected sourcePath: string, protected targetPath: string, transformDts: boolean) {
host: NgccReflectionHost, bundle: BundleInfo, sourcePath: string, targetPath: string,
transformDts: boolean) {
super(host, bundle, sourcePath, targetPath, transformDts);
}