Argument type {path: string, component HomeComponent}[] is not assignable to parameter type Routes
<p>Trying to set up routing for the first time on Angular 2 (router 3.0.0)</p>

<pre><code>import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule} from '@angular/router';
import { AppComponent } from './app.component';
import { BoardComponent } from './board/board.component';
import { HomeComponent } from './home/home.component';

@NgModule({
  declarations: [
    AppComponent,
    BoardComponent,
    HomeComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    RouterModule.forRoot([
        { path: '', component: HomeComponent }
    ])
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
</code></pre>

<p>I get the error:</p>

<pre><code>Argument type {path: string, component HomeComponent}[] is not assignable to parameter type Routes
</code></pre>

<p>Not sure what's going on here as I'm following the docs almost to the letter: <a href="https://angular.io/docs/ts/latest/guide/router.html" rel="nofollow">https://angular.io/docs/ts/latest/guide/router.html</a>.</p>

<p>Edit: <code>home.component.ts</code>:</p>

<pre><code>&lt;p&gt;Home works!&lt;/p&gt;
</code></pre>