message: fix(ivy): getSourceFile() of transformed nodes returns undefined
  In some cases, calling getSourceFile() on a node from within a TS
  transform can return undefined (against the signature of the method).
  In these cases, getting the original node first will work.
  PR Close
diff: @@ -167,7 +167,10 @@ export class NgModuleDecoratorHandler implements DecoratorHandler<NgModuleAnalys
  if (analysis.metadataStmt !== null) {
  ngModuleStatements.push(analysis.metadataStmt);
  }
  - const context = node.getSourceFile();
  + let context = node.getSourceFile();
  + if (context === undefined) {
  + context = ts.getOriginalNode(node).getSourceFile();
  + }
  for (const decl of analysis.declarations) {
  if (this.scopeRegistry.requiresRemoteScope(decl.node)) {
  const scope = this.scopeRegistry.lookupCompilationScopeAsRefs(decl.node);
  