message: fix(ivy): should not require an metadata object
  There is no test in this diff because I'm making an already failing test pass.
  PR Close
diff: @@ -23,7 +23,7 @@ const EMPTY_ARRAY: Type<any>[] = [];
  *
  * This function automatically gets called when a class has a `@NgModule` decorator.
  */
  -export function compileNgModule(moduleType: Type<any>, ngModule: NgModule): void {
  +export function compileNgModule(moduleType: Type<any>, ngModule: NgModule = {}): void {
  compileNgModuleDefs(moduleType, ngModule);
  setScopeOnDeclaredComponents(moduleType, ngModule);
  }
  