refactor(ivy): remove unused arg from ngcc `Analyzer` (#25406)
PR Close #25406
This commit is contained in:
parent
a528636f56
commit
a7134dbc37
|
@ -66,7 +66,7 @@ export class Analyzer {
|
||||||
analyzeFile(file: ParsedFile): AnalyzedFile {
|
analyzeFile(file: ParsedFile): AnalyzedFile {
|
||||||
const constantPool = new ConstantPool();
|
const constantPool = new ConstantPool();
|
||||||
const analyzedClasses =
|
const analyzedClasses =
|
||||||
file.decoratedClasses.map(clazz => this.analyzeClass(file.sourceFile, constantPool, clazz))
|
file.decoratedClasses.map(clazz => this.analyzeClass(constantPool, clazz))
|
||||||
.filter(isDefined);
|
.filter(isDefined);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -75,8 +75,7 @@ export class Analyzer {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protected analyzeClass(file: ts.SourceFile, pool: ConstantPool, clazz: ParsedClass): AnalyzedClass
|
protected analyzeClass(pool: ConstantPool, clazz: ParsedClass): AnalyzedClass|undefined {
|
||||||
|undefined {
|
|
||||||
const matchingHandlers = this.handlers
|
const matchingHandlers = this.handlers
|
||||||
.map(handler => ({
|
.map(handler => ({
|
||||||
handler,
|
handler,
|
||||||
|
|
Loading…
Reference in New Issue