chore(transformers): remove reflector parameter from initReflector signature
Remove reflector parameter from initReflector method to simplify ng_deps for reflection initialization. It wasn't used and was added for testability, but wasn't used. This keeps the interface simplier.
This commit is contained in:
@@ -53,8 +53,7 @@ class Codegen {
|
||||
|
||||
var count = 0;
|
||||
return importUris
|
||||
.map((_) =>
|
||||
'${prefix}${count++}.${SETUP_METHOD_NAME}(${reflectorExpression});')
|
||||
.map((_) => '${prefix}${count++}.${SETUP_METHOD_NAME}();')
|
||||
.join('');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user