title: Angular 9 Configure Lazy Loaded Route
body: <p>I'm trying to configure my lazy-loaded route using forRoot method. I get the following error: </p>
  
  <blockquote>
    <p>Error: Uncaught (in promise): Error: ASSERTION ERROR: NgModule '[object Object]' is not a subtype of 'NgModuleType'. [Expected=> null != null &lt;=Actual]
    Error: ASSERTION ERROR: NgModule '[object Object]' is not a subtype of 'NgModuleType'. [Expected=> null != null &lt;=Actual]</p>
  </blockquote>
  
  <p>Here's a link to my sample code: 
  <a href="https://stackblitz.com/edit/angular-ivy-vlsxqu" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-ivy-vlsxqu</a></p>