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:
parent
4526b3ef50
commit
64f6820660
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue